Lay Theme Forum

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

    fixed y-offset

    General Discussion
    browser resize text alignment y-offset
    2
    7
    576
    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.
    • P
      piskello last edited by

      Hi,

      I'm setting up a page with several text blocks that have different y-offsets. Due to the proportional nature of y-offsets, the text alignment between the text blocks changes according to the browser size.
      Is there a way to "lock" the y-offset and to avoid the vertical shift of the text blocks?

      best,
      matteo

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

        Hi Matteo,

        no. This is not possible. To use those Y Offsets is always proportional to the window size.

        You could use Custom CSS.
        Give each box an additional class and then move them up with margin: -20px.

        I hope that helped!

        Marius

        www.mariusjopen.world

        P 1 Reply Last reply Reply Quote 0
        • P
          piskello @mariusjopen last edited by

          Hi @mariusjopen, I gave them a custom class and then oved 'em up with a negative margin, but this is not fixing the issue. May I wrong something? (in case I can send you the private link)

          best,
          Matteo

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

            Hi Matteo!

            maybe you can post a link of the website here in this thread. Then I can have a look and see how I can help.

            Best :-)

            Marius

            www.mariusjopen.world

            P 1 Reply Last reply Reply Quote 0
            • P
              piskello @mariusjopen last edited by

              Hi Marius,

              Here the page url
              http://mistergatto.matteomoretti.com/about

              Thank you in advance,
              Matteo

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

                Hi Matteo!

                Ok, I see your point.
                Until now this is not possible with LayTheme.

                If the browser width changes and you use negative values to move the box up, there is no way to achieve this.

                The only way would be to stack multiple elements freely in the Gridder.
                We are working on this for the next verison of the gridder.

                All the best!

                Marius

                www.mariusjopen.world

                P 1 Reply Last reply Reply Quote 0
                • P
                  piskello @mariusjopen last edited by

                  ok, thank you! I will wait!

                  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

                  • C

                    image carousel bugging out

                  • N

                    help needed with cleaning up and optimising lay theme portfolio website

                  • R

                    Html5 Video Player issue

                  laytheme.com