Home › Forums › All Other Themes › Image in header
- This topic has 9 replies, 2 voices, and was last updated 5 years, 7 months ago by Sonl Sinha.
-
AuthorPosts
-
April 28, 2019 at 12:24 pm #122460
Hello,
I want to put an image in the header, but on small screens the image goes behind the menu, see: http://prntscr.com/nhvucs
Also it doens’t look good on mobile devices. With what code can i fix this?
website: napoleon.whayklanten.nl
April 29, 2019 at 7:38 am #122486Hi,
Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:
@media screen and (max-width:1023px) { .header-top-right { float: none !important; margin: 0 auto 15px !important; width: 100%; display: table; } .header-top-right div { float: none !important; margin: 0 auto !important; display: table; } } @media screen and (min-width:1024) and (max-width:1160px) { #topmenu ul li a { padding:20px 10px;} }
Regards,
DaveApril 29, 2019 at 12:43 pm #122509This helped but the image is cropped now
April 30, 2019 at 6:05 am #122534Hi,
Kindly use this one
.header-top-right { width:15%;} #topmenu ul li a { padding:20px !important;} .teamviewer { width: 100%; height: auto;} .header-top-right div { width: auto !important; height: auto !important;}
Regards,
DaveApril 30, 2019 at 7:50 am #122557Hello, this also worked but now the height is different and on tablet/ipad its not good. See: http://prntscr.com/nil5qs
April 30, 2019 at 7:51 am #122558Also on apple devices the website scrolls really fast. How can I fix that?
April 30, 2019 at 8:48 am #122566Hi,
Kindly use this
@media screen and (min-width:768px) and (max-width:1023px) { .header-top-right { width:35% !important;} }
Regards,
DaveApril 30, 2019 at 9:06 am #122569Thanks Dave,
And the scrolling?
Also the menu needs to be lowered. before i could do this with.type1 #topmenu { float: right; margin-top: 41px; border-radius: 100px; }
But that doesnt work anymore.
April 30, 2019 at 9:12 am #122572So sorry for nont being easy but the support icon is wrong on phones/tablets: http://prntscr.com/nim70n
Also can i make the background blue on phones?
April 30, 2019 at 10:11 am #122578Hi,
Please send us your WordPress credentials to [email protected] Please mention this forum URL while replying so that we understand what needs to be done.
We will solve this issue directly on your server.
Regards,
Dave -
AuthorPosts
- You must be logged in to reply to this topic.