Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1234657

    I am using a transparent header on the home page. Once you scroll, the background of the top bar turns to blue.

    However, on the mobile, the header and top bar are showing up white so you can’t read the phone number. Nor are they sticking to the top which I would like.
    Can you help?

    #1235506

    Hey,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    CSS Snippet:

    
    @media only screen and (max-width: 767px) {
    #top #header_meta {
        background-color: #2d5c88 !important;
    }}
    
    

    Best regards,
    Yigit

    #1235770

    That did not work. It did not change the color nor did it stick the bar to the top.

    #1235785

    Hi,

    It works fine on my end. Attached a screenshot in private content field.

    Please flush browser cache on your mobile device and refresh your page a few times :)

    Best regards,
    Yigit

    #1235808

    Yes – its working now.

    Is there a way to get the header to stick to the top? If not, is there a way to add a “back to top” arrow/button?

    #1235890

    Hi,

    Add this to quick css add the top button on mobile:

    @media only screen and (max-width: 767px){
    .responsive #scroll-top-link {
        display: block!important;
    }}

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.