Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1039417

    Hello team,

    after last Enfold update I found some errors in the site layout.
    So I decided to restore some default Enfold features.
    Everything okay except when I tried to restore margins using the following code (Quick CSS)

    .container.template-blog.template-single-blog {
    margin-left: 56.5px;
    margin-right: 56.5px;
    }
    .responsive .container {
    width: 1310px;
    }

    Mobiles and laptop with HiDPI are ok. But Ipad and laptop with MDPI are not responsive because 56.5px margins shift the content.
    How can I avoid this effect in media devices?
    The issue is not in homepage because there is no sidebar, but in the blogposts page.

    website in private space.

    Thanks.

    update: I tried the following css rule. It seems to work. Let me know if it is a good rule or not appropriate?

    @media screen and (min-width: 1440px) {
    .container.template-blog.template-single-blog {
    margin-left: 56.5px;
    margin-right: 56.5px;
    }
    }
    • This topic was modified 5 years, 11 months ago by turistai.
    #1039813

    Hey turistai,

    Thanks for the update, so the code works for you inside of the media query? If so then I would go with that solution, I can’t see anything wrong with your code.

    Best regards,
    Rikard

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