Tagged: footer, header, header background image, main menu
-
AuthorPosts
-
April 4, 2016 at 11:56 am #607496
Hi there,
I´m a newbie using ENFOLD, but I really like the look and the possibilities! I have some problems with adjusting the header/ main menü and the footer and I hope you can help me.1.) I´m trying to add a background image to the header, but I can´t find a way to show it only above the main menü and not behind. At the moment it overlaps behind the menü buttons. It shall also not overlap while shrinking the header… I don´t know if it is a size matter??? The image is 1310 × 130.
2.) I have chosen the option that the header shall shrink while scrolling down. I have also added a widget to the header to show a wordcloud. (the code is in the child theme´s css.php) How can I make both, the background image and the widget content shrink, when the header is shrinking?
3.) How can I get both, the background image and the widget content to be responsive and resize on different devices?
4.) Is there a possibility to add an icon instead of the word “Start” in the main menü?
5.) I have enabled showing the footer and socket option. There is nothing shown in the widget area in the backend, but in the frontend it shows pages (column 2), categories (3) and archive(4)? How can I clear the three footer columns without adding content?
6.) I´m trying to add a background image to the footer (a stamp saying “approved institute”). It shall be displayed at the bottom right. Can you give me a hint where to put it in the code?
Thank you! ;)
Best, ClaudiaApril 5, 2016 at 4:08 am #608009Hey onlineagentin,
Login details are not working for me, could you check please? If you could post screenshots highlighting the changes you would like to make it will make it a lot easier for us to understand what you are looking to change.
Regards,
RikardApril 5, 2016 at 9:13 am #608134Hi Rikard,
thanks for your quick reply. The login should be working now. I´ve also send some images to show what I mean…
Best, ClaudiaApril 6, 2016 at 2:59 pm #608989Hi!
1. To make the header look nicer please add the below code in Enfold > General Styling > Quick CSS
#header_main_alternate{ background: #d9dadb; }
2 & 3. This is a bit tricky you need to use multiple media queries and use the scale property to scale down to the size you need but if it get;s too small then people cannot click on it in mobile device so i suggest hiding it in mobile devices.
in the below code the scale value 1 is 100% and .5 is 50%.4. I already see that you have a home icon placed in the menu.
But if you still need to know how ? Just add a icon shortcode or a link to the image on the navigation label.5. Just add a blank text widget in column 2 & 3 of the footer.
@media screen and (min-width: 756px) { #wordcloud { transform: scale(.5); }} @media screen and (min-width: 480px) { #wordcloud { transform: scale(.35); }}
6. Please edit the image path and use the below css in Quick CSS
#footer { background-image: url(background-image.png) no-repeat top right; background-size: contain; }
Request you to create new tickets for new issues or separate issues as it helps keep focus on one topic and avoid mixup of issues…
Best regards,
VinayApril 6, 2016 at 9:33 pm #609199Hi Vinnie,
thank you so much for your help. The header looks nice now – I´ve set it to “not shrink while scrolling”.I don´t understand your answer for 2.&3. How can I hide the widget #wordcloud on mobile devices?
The background image doesn’t scale down on mobile devices as well. Is it possible to fix this somehow?The footer background image does not appear, when I put the code snippet that you send me. I don´t know if I used it correctly?
Would be great, if you could help me once more.
I promise, I will open new tickets for different issues in future. Thanks for the advice! :)Greetings from Berlin! Claudia
April 9, 2016 at 12:33 pm #610560Hey!
Thank you for the kind words.
To hide the word cloud in tablets and mobile please use the below css
/*hide wordcloud in tablet and mobile*/ @media and screen(max-width:756px) { #wordcloud { display:none; }}
Please check the background image path in the previous code “background-image.png” should be replaced with your background image path.
#footer { background-image: url(background-image.png) no-repeat top right; background-size: contain; }
We were unable to view the development site as the logins did not work.
Regards,
VinayApril 14, 2016 at 9:35 am #613624Hi Vinnie,
thanks for your ideas. I managed to hide the wordcloud by hidung the header widget… :) Footer background works! Thanks for your great support.
Best, Claudia
-
AuthorPosts
- The topic ‘Header background image’ is closed to new replies.