1. bibbp
  2. Sherlock Holmes
  3. Commercial Templates
  4. Monday, 27 February 2017
  5.  Subscribe via email
Ciaran,

I am using the serenity template, but have been asked to remove most of the header formatting. The last piece is to make the border stretch across the whole page, at the moment it disappears from under the logo. I have tried various combinations of moving the logo, using !important on the border, and using z-index - but all have been unsuccessful. Can you suggest something?

Current css is:
#header {
box-shadow: none;
border-bottom: 1px solid #55af38 ;
}
.hornav ul li a {
text-transform: capitalize;
color: #55af38;
font-size: 16px;
}
.hornavmenu {
left: 274px;
position: relative;
text-align: left;
margin-top: 50px;
}
.maincontent {
margin-top: 50px;
}
.footerline {
border-top: 1px solid #555555;
}
.item-101 ul li a {
text-transform: capitalize;
}
.logo {
box-shadow: none;
z-index: -1;
}
.hornav .parent > ul > li > a {
text-transform: capitalize;
}

Thanks!

Peter
References
  1. https://independentliving.scottsproject.org.uk/
Accepted Answer Pending Moderation
0
Votes
Undo
Its nearly there, but the whole line needs to come up a centimetre, if I reduce the padding the line disappears again. I've checked there is no unnecessary white space on the logo image itself.

#header {
box-shadow: none;
border-bottom: 1px solid #55af38 ;
padding-bottom: 40px;
}

Thanks

Peter
References
  1. https://independentliving.scottsproject.org.uk/
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Peter

To amend try also adding the following...

.logo {
background-color: transparent;
border: 0 none;
}


You should then be able to reduce your header padding further.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Perfect :D

Thanks Ciaran!
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Peter

To amend try adding the following to the Custom CSS field of your templates parameters...

#header {
padding-bottom: 40px;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.