• Resolved losrack

    (@carlos-jaramillo)


    I am targeting some stuff in developer tools, but when I enter that code into my css it does not work

    @media (min-width: 768px)
    .site-header .custom-logo-link, .site-header .site-branding, .site-header .site-logo-anchor, .site-header .site-logo-link {
        display: block;
        width: 21.7391304348%;
        float: left;
        margin-right: 4.347826087%;
        clear: both;
        margin-bottom: 0;
    }

    What am I missing?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your media query is missing the opening / closing braces.

    Thread Starter losrack

    (@carlos-jaramillo)

    Hi,

    I did put the closing but it wont work. Can you explain me how, so I don’t get the syntax wrong ?

    I am really trying to learn all this stuff, but some times I get stucked.

    Thanks

    Thread Starter losrack

    (@carlos-jaramillo)

    Never mind, I did commit a stupid mistake…

    Now it works with the proper braces

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘header css’ is closed to new replies.