Jump to content
Sign in to follow this  
peterpetersmythecom

Hooks and CSS Styling

Recommended Posts

peterpetersmythecom

I put in my first custom hook, a title for the loop. I want the title to behave just like my widget titles. What kind of code would I use for that in the function section? The css for the widget titles is .widget-title. My site is petersmythe.com.

Share this post


Link to post
Share on other sites
bryan-hadaway

You don't want to place CSS in functions.php - however, you do want to supply with an id or class so you can style from base.css. Whatever it is you're adding you could try just giving it the class: `class="widget-title"` If you're not sure I need to see the code you added to functions.php (but not all your functions.php code). Thanks, Bryan

Share this post


Link to post
Share on other sites
peterpetersmythecom

Bryan, Thanks. I got a plugin that deals with the issue. But you might think of adding some css instruction like that to the hooks document support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×