Home Forums WoodMart support forum Redis & custom css

Redis & custom css

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #341024

    loralora
    Participant

    Hi I have a problem-question.

    If I turn on the server caching of Redis – in about 75% of cases of the first download in the browser out of 100%, the custom css does not load immediately, but is loaded only on 3-5 pages.
    and only in rare cases does it work normally
    And if I disable Redis, then custom styles work 100% from 100%.

    Maybe I missed some settings?

    #341130

    Artem Temos
    Keymaster

    Hi,

    Please, describe to us your problems in a bit more details. Attach some screenshots and provide us with a list of steps on how to reproduce them on your website.

    Thank you in advance.

    #341242

    loralora
    Participant

    Hello thanks for the help

    For some reason this is working fine now.

    But I noticed another problem: the code inserted in does not work on Custom CSS for desktop but works on mobile (interrupting the code of the mobile version).
    I recorded a video.

    P.S. please do not close the topic yet, I will record a video with Redis and send it to you later, as the problem starts to manifest itself again.

    #341254

    Artem Temos
    Keymaster

    As we can see, the problem is caused by the Custom CSS itself and not by the theme. Sorry, but you write your custom code on your own risk and fixing such bugs is out of our theme support scope.

    #341264

    loralora
    Participant

    You did not understand me.

    Custom CSS for desktop works for both desktop and mobile versions.

    As far as I understand, if you put css in this field (Custom CSS for desktop), then the code from Custom CSS for desktop will be loaded only on the desktop? Then why does this code work and change the display of elements for the mobile version as well?

    #341271

    loralora
    Participant

    Correction to my post above: works for mobile versions but doesn’t work for desktop.

    #341275

    Artem Temos
    Keymaster

    Code placed to the mobile Custom CSS field is wrapped with CSS media query. But, anyway, it is loaded both on desktop and mobile devices.
    Try to put all your custom CSS to the global CSS field to see how it works both on desktop and mobile resolution.

    #341300

    loralora
    Participant

    Read carefully my problem: the CSS that I enter in the field “Custom CSS for desktop” doesn’t work for desktop.

    • This reply was modified 2 years, 11 months ago by loralora.
    • This reply was modified 2 years, 11 months ago by loralora.
    #341429

    Artem Temos
    Keymaster

    Please, send the code you put there so we can try to find it on your website to see if it is printed there correctly.

    #341514

    loralora
    Participant

    Please take a look.
    I also recorded a video for you.
    When I add this code to the “Custom CSS for desktop” field it doesn’t work for the desktop.

    But when I move the same code to the “Global Custom CSS” field – this code works.

    #341549

    Artem Temos
    Keymaster

    Please, add the code to the Custom CSS for desktop and send us a link where we can check it.

    #341555

    loralora
    Participant

    ок, check it

    #341558

    Artem Temos
    Keymaster

    As we can see, this CSS exists on the page. It might not work because of some CSS error in other CSS code above that code. Check the screenshot https://monosnap.com/file/PEuDhE3I4I2eCcvL9JVbPcIQ6Mj9le

    #341590

    loralora
    Participant

    I understand sorry! thank you very much

    #341691

    Artem Temos
    Keymaster

    You are welcome! Feel free to contact us if you have any further questions.

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘Redis & custom css’ is closed to new replies.