Lay Theme Forum

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

    Equal dimensions for elements inside an element grid?

    General Discussion
    2
    4
    264
    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.
    • S
      svenro last edited by

      hey,

      can someone point me in the right direction for making every element inside the element grid a square shape? is it possible?

      thank you!

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

        Dear @svenro
        there is no really a proper built-in solution for this.

        You could use CUSTOM CSS and CUSTOM JAVASCRIPT to apply always the element width to the element height. With a jQuery loop that should work. but I am not sure if this is a good idea.

        What do you want to achieve?

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • S
          svenro last edited by

          Thanks for the info Marius!

          I'll just go for the standard masonry grid as the effort would be to high for the desired effect. I just wanted to have the grid looking equal when i mix portrait with landscape oriented images. But the default will work too!

          Best,
          Sven

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

            Dear @svenro
            yes. The masonry grid might be an alternative.

            Happy that you found that.

            Best!

            Marius

            www.mariusjopen.world

            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

            B
            F
            A
            G
            D
            S
            M

            Recent Topics

            • K

              Unable to update lay theme / to login wp admin

            • S

              Theme crashed - because of Polylang?

            • A

              New button feature not available

            • A

              carousel addon not working after update

            laytheme.com