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
- smithjd44
- Commercial Templates
- Tuesday, 02 August 2016
- Subscribe via email
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
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
- more than a month ago
- Commercial Templates
- # 2
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
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
- more than a month ago
- Commercial Templates
- # 3
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
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
- more than a month ago
- Commercial Templates
- # 4
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
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
- more than a month ago
- Commercial Templates
- # 5
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
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
- more than a month ago
- Commercial Templates
- # 6
Hi James
Presuming I understand you correctly, I have added the following to your Homepage template style...
And the following to your default template style....
Ciarán
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
- more than a month ago
- Commercial Templates
- # 7
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »