Tagged: full width, header image
-
AuthorPosts
-
February 19, 2016 at 12:54 am #585806
I need a full width header image that resizes appropriately as the screen gets smaller. I know there are numerous places in support that describe various options, either using the logo or a background image, but I need to know the right one to use. I want the menu below the header area, so the image doesn’t interfere with the menu, and since there will be large words in the header image.
What size image should I use?
Where does it go, in Logo or header background, and which do you suggest?
What custom style sheet overrides do I need to make it resize and show appropriately?
Can I make sure it doesn’t interfere with the menu?I know lots of people want to do similar things, so if you can point me to a place that explains it in detail, I would appreciate it. I am pretty skilled with Enfold and have many sites.
Thanks so much.
February 22, 2016 at 5:57 am #586839Hey Roger!
Thank you for using Enfold.
You can add it in the General Styling > Logo Area as background. It might need a few adjustments on smaller screens.
UPDATE: The better thing to do is to extract the text from the background and add them as a separate element.
Regards,
IsmaelFebruary 23, 2016 at 3:30 pm #587741Hi Ismael,
Thanks for the fast response. I am afraid I am still not 100& clear. I can extract the text from the background, but I can’t seem exactly to get the background (shaded bottom to top) to fill the entire logo area, Then are you suggesting I add the words to the logo (horizontally), with a transparent background, or do it in some other manner.
Sorry, but I have seen all the other people wanting to do this, and it seems like every solution is different. I need the background at the loco level, the menu line as a separate background (which I think I know how to do), and the extended name and phrase across the top, resizing appropriately. I would be happy to have the words be text, which I can change the size of for mobile viewing in quick CSS, but again I just need some direction. I’ve been struggling with this for days.
Thanks…. Roger
February 25, 2016 at 1:31 pm #589036Hi!
I checked page in private content, but there is no header background image. Can you provide us a link to your site showing the elements in question please? we need to be able to inspect the elements.
Cheers!
AndyFebruary 25, 2016 at 5:00 pm #589253Hi,
See private details below.It’s seems pretty simple, but I see lots of questions about this in support, so I know it isn’t. We are moving an old Joomla site to a new wordpress site, specifically because of mobile compatibility.
We need a full width banner that resizes appropriately, and I am asking for help to make that happen.
I can make the banner any size required to make this work.
I can extract the words in the banner, if that helps, if you can tell me how to insert the words otherwise.
I can use a background image for the header, or the logo in the background image, or some combination of these..
I want the menu to be below the header to have a different color background, just like the old site.,
The site currently has a white header with Logo to the left, the menu below, I’d like to keep that orientation. Details in private section with current components.February 28, 2016 at 6:25 pm #590446Hi,
I am getting very frustrated, and having trouble understanding a solution. What I need:
1. I want a full width responsive header image in the header and logo area. I am glad to put it in either the header background or the logo image.
2. I need it not to have spaces to the right or left, and to resize appropriately based on browser width,
3. I want the menu below the header, and I don’t want the header or the logo to bleed into the menu.
4. I am glad to use a combination of logo and header background image, only header background image (I’ll add the logo), or only logo (I’ll add the header background image). I just need a solution that works and resizes correctly without spaces below, above, right, or left)The questions I have:
1, Exactly what width should the source image size be?
2. Should I use the logo, or the header background image, or both to accomplish what I want?
3. What Quick Style Sheet entries do I need to accomplish what I want?Right now I have set a full width image, with the logo, in the logo area, and tried to use style sheet entries to resize it. At large widths, I get blank spaces to the right. At small (mobile) widths, it doesn’t resize. I am just lost.
Links in private area,
Thanks….. Roger
February 28, 2016 at 11:12 pm #590509I’ve managed to sort most of this out, in the following manner.
1, There appears to be a white border line between the logo area and the menu below. How do I get rid of this, or change it’s color?
2, The mobile menu now has a red background – the same as the logo area. How do I change that?
3. I need to be able to resize the header, or use a different image, for mobile. How best to do that?Thanks…. Roger
How I did what I wanted:
1. I used a 1130×130 logo – designed to fill the entire page;
2. I set the logo area background color in Appearance to the same color as the bottom of the logo – there were resizing issues with the image that showed the background as the original white;
3. I set the header height to the same height as the logo – 130
4. I used the Quick CSS settings below to change the menu line background color:.main_menu ul:first-child > li > a { color: #ffffff!important; background-color: #5D5959; }
div#header_main_alternate {
background: #5D5959;
}.sub-menu > li > a {
background: #ffffff !important;
}February 28, 2016 at 11:13 pm #590510Sorry,
See correction in private area for website
February 29, 2016 at 7:33 am #590585Sorry for all the posts here. I’ve had to figure out the answers by searching the support forums and picking of pieces here and there. I think I have all of the issues solved with the exception of the following:
1. Change the background color on the mobile small menu box;
2. Specify a unique logo image for smaller widths – I would prefer to use CSS if I can, and would like a suggestion for the image size that will fill the header and resize when the small mobile menu box appears.
3. Pad the search icon to the right on the menu bar so it isn’t covered by the scroll bar
4. Add a different hover font color for the top level menu items only.
5. The mobile menu drop down menus now disappear when you hover over them. How do I change this?
‘
URL in private area. Home Page shows all issues.Thanks in advance.
Roger
February 29, 2016 at 3:42 pm #590837Hey Roger!
1 & 3- Please add following code to Quick CSS in Enfold theme options under General Styling tab
#advanced_menu_toggle { background: orange; color: red; border-color: green; } li#menu-item-search { right: 20px; }
2- Please refer to this post – http://kriesi.at/documentation/enfold/change-logo-on-mobile/. Please note that you would not be able to see the changes on desktop, mobile device needs to be used to check it.
4- Please go to Enfold theme options > Advanced Styling and edit “Main menu links” and check “Apply only to mouse hover state”
5- Because you have following code in your custom CSS.sub-menu > li > a { background: #ffffff !important; }
Please change it to following
@media only screen and (min-width: 769px) { .sub-menu > li > a { background: #ffffff !important; }}
Regards,
YigitMarch 2, 2016 at 2:13 am #591836Yigit,
Thank you so very much.
You have solved almost every issue, and things are working much better. I had no idea that a full width header would cause so many issues, but now that I understand this, I should be able to handle it in the future.
I think my last issue regarding this is the background color on the close mobile menu (where the X displays when the menu is open). It is now using the background color on the main selector, and I would prefer it to use the background color and border of the mobile menu before opening, or perhaps some other color.
So I now have for the mobile menu:
#advanced_menu_toggle {
background: #faf2cd;
color: #710903;
border-color: #710903;
}How can I make the “Close” menu similar? I just need to change the background and border to the same colors as the one above.
Again, thank you so much. You have really solved all my issues.
Roger
March 2, 2016 at 6:12 pm #592246Hey!
Please add following code to Quick CSS as well
a#advanced_menu_hide { background: orange; color: white; border-color: green; }
Best regards,
YigitMarch 4, 2016 at 4:13 am #593082Yigit,
Thank you so much for all the help. I very much appreciate it. We have now solved almost everything with this difficult problem.
Roger
March 4, 2016 at 4:26 pm #593339Well, I spoke too soon.
Logo Resizing on IPad
I want to show a unique wide horizontal logo on mobile devices. I have it working now on an IPhone by specifying a unique image in functions.php for the mobile logo as specified in your help. I display the horizontal image with a backgound color identical to the header color, and with a fixed width specified in quick css as:
@media only screen and (max-width: 767px) {
#header_main .inner-container {
height: 100px;
}
.responsive .logo img {
max-height: 100px;
max-width:250px;
height:100px !important;
width:250px !important;}}
This works perfectly on the IPhone, either in regular or landscape mode. On the IPad, however, it replaces the logo as it should, but it resizes the logo according to the width, which is exactly what I don’t want. I either want the IPad to use the standard logo, and let it resize it, or use the mobile logo, and don’t resize it. How can I do either?
Drop down menus on IPad
Drop down menus work perfectly on all devices, except the IPad in Vertical Orientation, where the background color changed to the top level menu selection color. In horizontal mode, it works fine. On every other device it works fine. It’s just on the IPad Vertically it does this. Why? Just as FYI, I used the following Quick CSS to highlight the top level menu on hover.
#avia-menu li:hover a {
background: #720903;
font-weight: bold;
}I am literally going out of my mind trying to fix these things..
March 5, 2016 at 10:01 pm #593793I have now solved all my issues with the exception of 1.
Drop down menus on IPad in Vertical Display
Drop down menus work perfectly on all devices, except the IPad in Vertical Orientation, where the dropdown background color changes to the top level menu selection bacground color. In horizontal mode, it works fine. On every other device it works fine. It’s just on the IPad Vertically it does this. How can I correct this.
You can see it happen by using an IPad, selecting the about menu item, and you’ll see the background is shown as Red – the highlight color. Do nothing but rotate the IPad to a horizontal position, and it goes back to the correct display – a white background.
Just as FYI, I used the following Quick CSS to highlight the top level menu on hover.
#avia-menu li:hover a {
background: #720903;
font-weight: bold;
}March 8, 2016 at 9:58 am #594904Hey!
Thank you for the info. Try to replace the css code with this:
#avia-menu > li:hover > a { background: #720903; font-weight: bold; }
Best regards,
IsmaelMarch 9, 2016 at 2:45 am #595268Ismael,
I’m still getting the background color on the drop down part of the menu set to red – only on the IPad and only when displayed vertically. On every other device, and on the IPad in horizontal mode, it is 100% correct.
You can see it happen by looking at the website on an IPad. Start vertically, select a top level menu item, and the drop down background will be red. Rotate the IPad in your hand to horizontal – it will display correctly.
Cleared Safari cache, no difference.
The strangest thing I have ever seen. Any ideas?
Roger
March 14, 2016 at 1:35 pm #597698Hey!
Please add the below code to quick CSS
@media only screen and (max-width: 768px) { .header_color .main_menu ul ul,.header_color .main_menu .menu ul li a { background-color: #FFF!important; } }
Regards,
Vinay KashyapMarch 14, 2016 at 4:23 pm #597824Vinay,
Thank you so much. That fixed the problem.
I think this is the last issue in this long list of issues, and I very much appreciate the support.
Thanks again…. Roger
-
AuthorPosts
- The topic ‘Full Width Header Image’ is closed to new replies.