Support Forum

Where to style the Recent Posts widget plugin

SL slobizman
slobizman
Member

I installed the template tag plugin so I could use the Recent Posts widget.  It’s working just fine.  But I need to change the CSS in order to change the left padding of the list to 10px.  I see that it is “#ez-home-sidebar-1 ol” but I don’t know where to place the CSS. Can you point it out please?

I think this is what I have to place somewhere:

#ez-home-sidebar-1 ol {
margin: 0px;
padding: 10px 10px 10px 10px;
}

I didn’t think it was right to do so, but I tried adding it to the default style sheet for my theme, and it didn’t work there.

 

BTW, I also tried entering a DIV and /DIV in one of the Widget’s “before” and “after” sets of fields to apply in-line css, but it didn’t like that.

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

It would need to go in your wp theme stylesheet…  since its run outside of the forum page, our css is not loaded…

assume the ID is from our wp theme… but not sure about the ol… we use a ul or div there..

SL slobizman
slobizman
Member

Got it! for anyone else who runs across this and want to do it, I did it with the following:

ul#spRecentPostsTag {
margin: 0px;
padding: 10px 10px 10px 10px;
}