- Posts: 3
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question Aligning header in center without creating a margin
- McGriddles
-
Topic Author
- Offline
- New Member
-
I am trying to align the header text so that it is in the center instead of at the left. I found the code to do it:
The float value is now "center", whereas before it was "left". My problem is that it now creates a small padding or margin underneath the header that wasn't there before. If I change the float value back to "left," the margin goes away. Is there some way to align the header in the center without this margin appearing?
Here are screenshots of what I'm talking about:
Centered with margin
Left-aligned without margin
Thank you!
Please Log in or Create an account to join the conversation.
i like your template aswell
thanks Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
margin-bottom: 0px;
or
margin-bottom: 0px !important;
but if its padding then :
padding-bottom: 0px;
or
padding-bottom: 0px !important;
personaly i think its a margin but without the live site to play with i have no idea
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
#Kunena div.fb_title_cover {
/*float:left;*/
text-align:center;
color:#FFFFFF;
font-weight:normal;
line-height:normal;
padding:2px;
margin-left:2px;
}
#Kunena img.hideshow {
cursor:pointer;
float:right;
margin:-20px 0 0;
padding:0;
position:relative;
z-index:1;
}
Please Log in or Create an account to join the conversation.