drwex: (Default)
[personal profile] drwex
I'm having a minor spot of trouble and the various docs I've read online aren't helpful.

I'm trying to add my own CSS styles. I'm using the default template, and I've edited template.css to include them.

I can view source on my page and see that /templates/rhuk_milkyway/css/template.css is indeed being included. When I open up that page in the browser directly I can see that my style is there. I tested the style by writing a little HTML file on my local disk and viewing it in the browser and the style works as I'd expect, but somehow when the page is rendered, the style is not picked up.

Date: 2010-10-14 02:03 pm (UTC)
From: [identity profile] meadmaker.livejournal.com
My first thoughts would be that either the selector isn't quite right (typo or some such), or that the formatting is being overridden by a more specific tag.

What browser are you using? For issues like this, the developer tools are incredibly useful. For Firefox, I use FireBug; for IE, I use the IE Developer Toolbar, and for Chrome I use the built-in developer tools (control-shift-i).

Each of these have a mode where you can click on an element to select it, and then it will show you what styles are affecting it, from what stylesheets.

Is this visible somewhere?

Profile

drwex: (Default)
drwex

July 2021

S M T W T F S
    123
45678910
11121314151617
1819 2021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 1st, 2026 11:58 am
Powered by Dreamwidth Studios