Modify

Opened 7 years ago

Closed 21 months ago

#1938 closed defect (worksforme)

How to override style by custom CSS

Reported by: anonymous Owned by: rjollos
Priority: normal Component: PyDotOrgTheme
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

From trachelp, one should put site specific CSS on [instance]/templates/site_css.cs.

Site specific CSS can be put there, but I have put such a file, and without any effect.

What is the supported way to do site specific customization?

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by tomas

Same problem for 0.9

comment:2 Changed 7 years ago by anonymous

What do you have in the file?

I'm using:

<?cs
##################################################################
# Site CSS - Place custom CSS, including overriding styles here.
?>

:link, :visited {
 text-decoration: none;
 color: #090;
 border-bottom: 1px dotted #bbb;
}

Which works just fine (makes my WikiLinks turn green).

At first I had the CSS code inside the <?cs ... ?> but that didn't work.

comment:3 Changed 21 months ago by rjollos

  • Owner changed from coderanger to rjollos
  • Status changed from new to assigned

Investigating that this still works fine in 0.11.

comment:4 Changed 21 months ago by rjollos

  • Resolution set to worksforme
  • Status changed from assigned to closed

Works fine in 0.11. See example in #5659. Note 0.10 is no longer supported.

Add Comment

Modify Ticket

Action
as closed The owner will remain rjollos.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.