Forum Support

Advanced Search


Offline chriddo
Free Member
Posts: 216

I see that originally the height of the main menu background is 190px.
I tried to reduce it to 100px (as below) but the main menu items did not change because of this. 

#s5_headerbackground {
height: 100px;
background-attachment: scroll;
    background-color: #ffffff;
background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;}

Any suggestion on how to solve this the best way?

Offline jonahh
Free Member
Posts: 23789 WWW


It all depends on if you have custom_6 and or breadcrumbs published. If neither are published then you'd edit where you did in the CSS file but if any of these are published the height had to be adjusted.  We added the scenarios for this in the template's index.php file and so you'd have to change the heights there:

<?php if ($s5_pos_breadcrumb == "published" && $s5_pos_custom_6 == "published") { ?>#s5_headerbackground{height:180px;}<?php ?>
<?php if ($s5_pos_breadcrumb == "published" && $s5_pos_custom_6 != "published") { ?>#s5_headerbackground{height:215px;}<?php ?>
<?php if ($s5_pos_breadcrumb != "published" && $s5_pos_custom_6 == "published") { ?>#s5_headerbackground{height:215px;}<?php ?>

Jump to:  

Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by
Page created in 0.017 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.