Help with Stylesheet

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

05-Aug-12 22:49
Hi All,

I am okay with html and css but need a little help with this as im self trained.

Have a wordpress website, the person who built the site has added the "ol,ul list-style:none code " code into the start.

This is fine as we want it like this for the most part, however we need the correct formatting (bullets and numbering etc.) in ONLY the blog section of the site?

Is someone able to help me with this. I can send the .css file to you!

Thanks in advance!
06-Aug-12 09:06
Set an class specific rule that overides the glodal rule and apply that class to the elements that you require a particular bullet style.

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/
06-Aug-12 19:30
Yeah, I'm not that good. HAHA!
08-Aug-12 06:01
http://www.w3schools.com/cssref/pr_list-style-type.asp


ul.bulletlist {
list-style: disc;
}
ol.bulletlist {
list-style: decimal;
}


Add class="bulletlist" to the list elements you want with bullets and they will have the defaults for that list type,
eg:
Filled circle for ul
Numeric for ol

--
Chris.
So long, and thanks for all the fish.
http://webmaster-talk.eu/

 
New posts
Old posts

Follow Elated