This topic has 1 reply, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #132662
     gralmy
    Participant

    how do I use a different logo for the mobile?  here is what I tried:

    @media screen and (max-width: 480px) {

    .logo img {

    height: auto;

    background-image {url(‘http://www.solidboss.com/wp-content/uploads/2016/08/8.16.png’) !important;}

    }

     

    didn’t work

    thanks

    #132885
     Radu
    Moderator

    Hi,

    Try with this css

    COPY CODE
    
    
    @media screen and (max-width: 480px) {
    .logo img { display:none; }
    strong.logo a {
        background-image: url('http://www.solidboss.com/wp-content/uploads/2016/08/8.16.png');
        min-height: 99px;
        background-image:red !important;
        background-repear:no-repeat;
        }
     
    }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?