Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    custom "margin-top" CSS no longer works

    General Discussion
    3
    4
    17
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mrrpringle last edited by

      Hello,

      I'm having an issue with my custom "margin-top" CSS post-update.

      The code looks like this:
      Screen Shot 2020-05-15 at 3.25.35 PM.png

      Screen Shot 2020-05-15 at 3.25.39 PM.png

      Before the update my top margins were precise but the code is no longer working.

      For now I've set custom top-margins for each page but I'm simply trying to create the same fixed top-margin for all pages.

      Any idea how to fix this? Thanks in advance!

      website: roscross.com

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @mrrpringle
        the mobile gridder changed a bit. Did you inspect the website with Google Chrome Inspect?
        Best!
        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • M
          mrrpringle last edited by

          Hi Marius,

          Would you mind pointing me to this? I am unable to find the source of the issue when I inspect on google chrome. Thank you.

          1 Reply Last reply Reply Quote 0
          • Richard
            Richard Global Moderator last edited by

            Dear @mrrpringle

            Which area of your website (#main-region) did you wish the have margin-top?

            Was it the Carousel you have on the front page?

            Best
            Richard

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Before you post

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            Recent Topics

            • T

              OpenType Feature

            • T

              Split Screen just on front page / subpages without the split?

            • T

              problem when I click on the category filter buttons on mobile

            • G

              z index has different behaviors on different pages

            laytheme.com