Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1416075

    Hi.

    For some reason, a stock slice of code, noted below, is not being called on a particular site (latest version of Enfold installed, and all cache cleared / manual checks committed and so forth).

    Is it possible someone has had this before, or perhaps a mod. could chime in?

    Essentially, I’ve added this as an addition, but it would be nice to know why it fell off in the first place:

    @media only screen and (max-width: 767px)
    .responsive #top #wrap_all .container {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    padding-left: 0;
    padding-right: 0;
    float: none;
    }

    #1416136

    Hey James Bowtine,
    I find this snippet in enfold\css\grid.min.css and enfold\css\grid.css on your site:
    Enfold_Support_2897.jpeg
    Enfold_Support_2899.jpeg
    In both cases it is in the proper media query.
    Where on the frontend did you experience the issue that made you think it was missing?

    Best regards,
    Mike

    #1416230

    Hi Mike,
    if you remove my snippet in the link I provided (and be my guest to temporarily do so), you’ll find that it no longer renders – that is the issue / query.

    I added the code from a working site as an additional snippet as the original site wasn’t rendering.

    #1416236

    Hi,
    Where on the frontend do you see the issue, which page and elements?
    Perhaps a screenshot would help.

    Best regards,
    Mike

    #1416239

    You could take any page – it’s the header and general padding missing on mobile portrait view, i.e. as/per the snippet, anything below: @media only screen and (max-width: 767px)

    Couple of screenshots below, with and without the code snippet override:

    https://joefraser.co.uk/wp-content/uploads/2023/08/with-code-snippet.png

    https://joefraser.co.uk/wp-content/uploads/2023/08/without.png

    • This reply was modified 8 months, 3 weeks ago by James Bowtine.
    #1416243

    Hi,
    This is due to your video snippet in the WP Code plugin, scroll to the bottom of the snippet:
    Enfold_Support_2939.jpeg

    Best regards,
    Mike

    #1416244

    Excellent.

    I’m pleased there was a reason, even if it was down to me.

    Thank you

    #1416245

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Mobile Padding Lost – manual override … but why? …’ is closed to new replies.