Support » Fixing WordPress » Media queries

  • Hi,

    can anyone tell me how I can remove the media query at 767.98px? I tried to remove it from the theme style sheet, but probably tried the wrong one/s. What my problem is: as you can see, there is a slope between the first and second section, just like in the following ones but the problem is, that this slope unwantingly gets removed and only the slopes between the other sections remain. But I want the slopes to remain, no matter how small the screen size gets. Thanks for your help in advance πŸ™‚

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    It looks like there is a min-width media query of 768px that adds the slope that you are referring to. You won’t need to touch that media query but rather the other styles since this was coded mobile first. You will have to remove the padding styles in the following within you styles.css:

    .elementor-template-full-width #content > .region__container, .page-template-elementor_header_footer #content > .region__container, .elementor_library-template-elementor_header_footer #content > .region__container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    Thread Starter veshop

    (@veshop)

    Hi,

    Thanks πŸ™‚ Well, not sure if I got you right but I do want to have the slope, that’s exactly what I want to have displayed. Currently it removes the slope, but that’s not what I want :-/

    When I add your code snippet, it does just want it did before:

    https://gofile.io/d/bpZdyM

    Any other idea? πŸ™‚

    Please re-read what I mentioned in my previous comment. I did not say to add it. I said to remove the line of padding where that CSS is.

    Thread Starter veshop

    (@veshop)

    I’m sorry- I am so used to adding to code that I misread πŸ™‚ But anyway: I searched in both css, in ‘style.css’ and ‘style-rtl.css’ (whatever the last one is), I also pasted both codes into word to run another search there but the code snippet you refer to is just not there :-/ No idea where they hid it…

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