Site logo

[Support request] Custom CSS don’t apply on mobile (directorist plugin)

Home Forums Support [Support request] Custom CSS don’t apply on mobile (directorist plugin)

Home Forums Support Custom CSS don’t apply on mobile (directorist plugin)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2557348
    Émilien

    Hi,

    I don’t know but my custom css codes on directorist elements don’t apply on mobile ? Do you think it’s coming from directorist plugin or generatepress ?

    Thank you

    Kind regards

    Émilien

    #2557372
    David
    Staff
    Customer Support

    Hi there,

    the Theme won’t know of that plugin and it won’t affect how it loads the styles.
    Try disabling any cache/optimization plugins, then clear your browser caches. Do you see the styles then ?

    #2557401
    Émilien

    My custom css codes have been saved in the settings of generatepress theme. I only have autoptimize, nothing happens if I clear cache.

    #2557425
    Émilien

    Ok, I found the culpit :

    « @media (min-width:769px) {
    .main-navigation .main-nav ul li.nav-button a {
    background-color: #ffffff;
    border: 2px solid #000000;
    color: #000000;
    line-height: 35px; /*this number will likely need to be adjusted*/
    }
    »

    Now it has been working, since I have deleted it

    #2558471
    David
    Staff
    Customer Support

    Glad to hear you found the issue

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