Jump to content
Sign in to follow this  
jonasbonas

H3 widget title

Recommended Posts

jonasbonas

Hi I need to have the width change dynamically according to text length in the h3.widget-title css property. How do I achieve this? regards Jonas

Share this post


Link to post
Share on other sites
Danny
Hi Jonas, I apologise but I don't quite understand, what widget on your website?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jonasbonas
Well, all of the widgets in the sidebar. Now the h3 css property is 100% width so it extends from left to right within the sidebar width. I need it to wrap around the title text only.

Share this post


Link to post
Share on other sites
Danny
OK, I understand now, sorry about that! Can you try this please. [code]#sidebar1 h3.widget-title {display: inline-block;}[/code] Let me know if that does the job for you!

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny
No Problem, happy to help!

Please search our forums, before posting!

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  

×