- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello everyone,
In a post on my blog, I have unorganized list in the body of the article and also in the sidebar. I’m trying adding a
{padding-left: 25px; }
to the bullets in the article ONLY, and not to the bullets in the right sidebar.
This is probably a fairly simple CSS rule, but I’m not sure how to do it.
I added
body ul {padding-left: 25px;}
but that also added padding to the sidebar lists. Any ideas?
thanks,
Evan
page in question: http://www.travelgrom.com/travel-blog/balian-beach-bali-surf
list in question: http://cl.ly/image/1h0D1O2M0Z2x
For starters, you should be wrapping each article in a container, preferably `
article ul {
/* your styles here */
}
You’ll just need to edit your theme’s code. Are you comfortable making changes like that?
Yes, I’ve edited a lot of my themes PHP files, but mostly from reading step-by-step tutorials. Any chance you could point me to an article that explains how to add
to every page?
Thanks,
Evan