1. smithjd44
  2. Sherlock Holmes
  3. Commercial Templates
  4. Tuesday, 02 August 2016
  5.  Subscribe via email
I am building a website for a client using the Habitat template but he wanted a header/logo that is much higher than normal.

While he likes the large header on the homepage, he wants it to not display on most of the other menu items because of visitors having to scroll down.

The website is going to be an e-commerce site so he wants the product categories and products to be at the top of the page.

I tried making a copy of the template creating an assigned template without the logo/header but it didn't work.

Any assistance will be very much appreciated.

Thank you!

James Smith
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

Would you have a URL to an example of your logo?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you James

Your best option would be to create a second template style to which you would add your Custom CSS and have assigned to just your homepage. All other pages will continue to use the default template style. For details on creating multiple template styles may I suggest the following article... http://joomla51.com/tutorials/item/creating-multiple-template-styles

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I have tried without success to create a copy of the Habitat template and then assign it to all menus except for the homepage.
When I use a transparent header that is only 150 px in height and change the Header CSS to:

/* Header */
/*-----------------------------------------------------------------------------------*/
#container_header {
height: 150px;
}
#container_header.block_holder {
padding: 0;
}
#header {
position: relative;
height: 150px;
}

It still shows a tall blank header using the Header CSS from the homepage:

/*-----------------------------------------------------------------------------------*/
/* Header */
/*-----------------------------------------------------------------------------------*/
#container_header {
height: 510px;
}
#container_header.block_holder {
padding: 0;
}
#header {
position: relative;
height: 510px;
}
/*-----------------------------------------------------------------------------------*/

The configuration wouldn't allow me to upload the screen shots I have as illustration.

Thank you for your assistance!

James Smith
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

You appear to have not assigned your homepage template style to just the homepage menu item. I have amended your template styles so you now have 2 style... 'Homepage' for just the home menu item and 'Default' for all other pages.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
That solution will hide the large oversized header it still leaves the same gap.

If I try to change the CSS code for the default Habitat Template then the Menu Bar moves up into the Header when on the homepage.

It is the problem of trying to set the header css codes different on each style and have that css code reduce the header height when the header is changed to the short transparent header.

Sorry this has been a problem with this website located at https://dwyerinternaltionalmarket.

Login information provided previously.

Thanks,

James
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Hi James

Presuming I understand you correctly, I have added the following to your Homepage template style...


#container_header {
height: auto;
}
#header {
height: 500px;
}


And the following to your default template style....


#logo img {
margin-top: 12px;
max-width: 340px !important;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Exactly what I needed! Thank you!!

James
  1. more than a month ago
  2. Commercial Templates
  3. # 8
  • 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.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok