Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1063730

    Hi guys.. i use this code to change logo on some pages. and on desctop pages it works but on mobile pages, with code or without, logo doesn’t changes to transparent style. How to solve this problem?

    • This topic was modified 5 years, 10 months ago by pddcoms.
    #1063903

    Hey pddcoms,

    Try adding this css code in Quick CSS (Located in Enfold > General Styling):

    @media only screen and (max-width: 767px) {
      .page-id-4383 .logo img { 
        opacity: 0; 
      }
    
      .page-id-4383 .logo a { 
        background-image: url(https://kriesi.at/wp-content/themes/kriesi/images/logo.png); 
        background-repeat: no-repeat; 
        background-size: contain; 
      }
    }

    Just replace the background image’s url with the url of your logo.

    Best regards,
    Nikko

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