Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    that would most likely mean that the CSS is inside an @media query like so:

    @media(max-width: 768px) {
    
    /* your mobile CSS styles in here */
    
    }     <---- common issue is if this bracket is missing

    If that last bracket is missing then ANY CSS below will be included in the @media query.

    Thread Starter fakhrurpedia

    (@fakhrur)

    i didnt know, can you give example form my css issue and how to fix it?

    Copy and paste your CSS into this site:

    https://csslint.net/

    it will list all the issues it has.
    When you do you will see an error around line 215 – thats says something like:

    Expected RBRACE at line 215, col 1.

    And the reason for that is because if you check out around line 102 you will see this media query:

    @media (max-width: 768px) {

    But there is no closing bracket }

    But i cannot tell you where to put that bracket as i do not know what CSS you need inside the media query.

    Thread Starter fakhrurpedia

    (@fakhrur)

    thanks, david

    You’re welcome

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘css style not loaded on dekstop mode’ is closed to new replies.