Home › Forums › All Other Themes › Restaurant Pro mobile header background color
- This topic has 10 replies, 2 voices, and was last updated 7 years, 11 months ago by Sonl Sinha.
-
AuthorPosts
-
November 26, 2016 at 5:11 pm #53961
Hi:
I am using Restaurant Pro and wonder how to change the header background color for mobile? Tried changing styles.css and Theme Options but did not work.
Thanks
Henry
November 28, 2016 at 5:30 am #54021Hi Henry,
Kindly show us your website URL.
Regards,
BradNovember 28, 2016 at 2:05 pm #54135Hi Brad:
Please find the following URL http://aarondentistry.leafcom.org/. This theme looks great but the following issues need to be resolved:
1. How to change header background on mobile? The default header background on mobile is grey.
2. The logo width issue: Logo looks good on laptop, but very short in width on mobile, changed the following line in .CSS to width: 100%, now logo looks good on mobile, but menu items pushed to 2nd line as shown URL.
.header .header-inner .logo{float:left; margin-top:20px; margin-left:180px; margin-right:50px; width:100%;}It would be great if you can help.
Thanks
November 29, 2016 at 7:08 am #54237Hi Henry,
Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
.header .header-inner{background:#000000 !important;}
Regards,
BradNovember 29, 2016 at 7:08 am #54238Hi Henry,
Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
@media screen and (max-width:768px){
.header .header-inner{background:#000000 !important;}
}Regards,
BradNovember 30, 2016 at 3:16 am #54382HI Brad:
Thanks for the information. The mobile header background color is now working well.
But the mobile logo is very short, believe affected by the following line in CSS.
.header .header-inner .logo{float:left; margin-top:20px; margin-left:20px; margin-right:50px; width:22%;}
November 30, 2016 at 5:10 am #54389Kindly add this code in custom css box:
@media screen and (max-width:768px){
.header .header-inner .logo{width:auto !important;}
}Regards,
BradDecember 7, 2016 at 5:00 am #54929Hi Brad:
Thanks, it works, appreciated. Meanwhile. A new issue:
How to change mobile header background color to black while keeping the content background white?
Thanks
December 7, 2016 at 7:06 am #54957Hi,
Header color on mobile is currently black. Do you want to change the navigation background color to black on mobile?
Regards,
BradDecember 8, 2016 at 12:33 am #55028Hi Brad:
The navigation background color is okay. The issue is for mobile header color above the navigation bar: Currently the mobile header black color is achieved by the following code:
@media screen and (max-width: 768px) {
body {background-color: #000000;}
}The issue is – it also changed the content background color to black. Please visit page Practice on mobile to see this issue. The question is: how to change the header background color to black while keeping content background color as white?
Thanks
Henry
December 8, 2016 at 6:06 am #55058Hi Henry,
Kindly remove the body background color code and add this code in custom css box:
@media screen and (max-width: 768px) {
.header{background:#000000 !important;}
}Regards,
Brad -
AuthorPosts
- You must be logged in to reply to this topic.