Modify

Opened 17 years ago

Closed 12 years ago

#1938 closed defect (worksforme)

How to override style by custom CSS

Reported by: anonymous Owned by: Ryan J Ollos
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 17 years ago by tomas

Same problem for 0.9

comment:2 Changed 17 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 12 years ago by Ryan J Ollos

Owner: changed from Noah Kantrowitz to Ryan J Ollos
Status: newassigned

Investigating that this still works fine in 0.11.

comment:4 Changed 12 years ago by Ryan J Ollos

Resolution: worksforme
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.