Try using Firefox with the Firebug add-on for this kind of CSS work.
http://getfirebug.com/
Thread Starter
keljnr
(@keljnr)
This is a brill tool cheers.
The Recent Posts Widget uses the default ul; where can I edit this so I can give it the ‘articles’ ID?
So:
<ul id="articles">
Cheers 🙂
You can’t edit the widget itself as it’s part of core but your theme should be applying a unique class or id to its container.
Thread Starter
keljnr
(@keljnr)
Thanks, I managed to solve this by changing the default-widgets.php in wp-includes folder. Cheers again Esmi!
No! Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.
Thread Starter
keljnr
(@keljnr)
Understood Esmi! Thanks for the advice 🙂
but you can edit a copy of the core scripts and put the on the child theme folder, right?
No – you extend the native widgets via the theme – if necessary.