Remove extra line break in footer

Support desk for Villa Belluci Joomla Hotel Template
GK User
Sat Jul 30, 2016 11:14 pm
Screen Shot 2016-07-31 at 07.13.35.png


I'm using a <br> tag to create a line break in the footer; however, 2 line breaks appear. How can I do 1 line break?

https://www.covertjapan.com
User avatar
Fresh Boarder

GK User
Wed Aug 03, 2016 12:13 pm
Figured it out. Create an override and modify the line-height parameter:

#gkCopyrights {
color: #777;
font-size: 11px;
line-height: 40px;
margin: -30px auto 20px auto;
padding: 10px 0;
position: relative;
text-transform: uppercase;
}
User avatar
Fresh Boarder

teitbite
Sat Aug 06, 2016 12:26 pm
Hi

Ok. Looks good, but not all browsers will process negative margins, so it's better to change "margin: -30px auto 20px auto;" into "margin: 0 auto 20px auto;" and reduce the padding on a different element with code:

Code: Select all
#gkFooterNav {
    padding: 80px 0 20px;
}
User avatar
Moderator


cron