css help. please

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Tue Aug 27, 2013 9:04 pm
Hi,
I wonder if someone could help me to understand what's happening here.

I don't understand why the text (in <P> tags) is in-line with the H2 element.

1css.gif


As the H2 element is usually a block element, shouldn't the code in the 'P' tags go underneath it?

2css.gif



Thanks for any help. :)
User avatar
Senior Boarder

GK User
Wed Aug 28, 2013 7:54 am
Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
div.article-meta h2 {clear: both; width: 100%}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Platinum Boarder

GK User
Wed Aug 28, 2013 6:42 pm
That's great.

Thank you.
User avatar
Senior Boarder


cron