Lay Theme Forum

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

    Project title on thumbnail

    General Discussion
    2
    6
    675
    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
      miltosbottis last edited by

      Hi Armin,

      Is there a way to change the position of the project title when hovering over an image?
      I want it to be on the image, not above or below (for both of which I have the alignment option).
      And instead of centered I need it on the top left corner.

      If there's the need for CSS for that, could you please point me to something?
      I don't have any knowledge on the matter.

      Thanks
      Miltos

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

        Dear @miltosbottis
        do it like the following:
        0_1521230576376_Bildschirmfoto 2018-03-16 um 17.02.34.png

        And add this to your CUSTOM CSS code:

        .lay-textformat-parent.above-image {
            position: fixed;
            top: 0px;
            left: 0px;
        }
        

        Hope I could help!

        Best!

        Marius

        www.mariusjopen.world

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

          Hi Marius,

          Thanks for the quick reply.
          I put in the code you sent me and this happens,

          0_1521237187521_Screen Shot 2018-03-16 at 21.52.09.png

          the project title is displayed on the top of the site, instead on top of the thumbnail.
          Should I change something?

          Thanks
          Miltos

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

            Dear @miltosbottis
            Ah! Ok. I thought you wanted it on the VERY top of the page.

            Well. Also easy to achieve:

            .lay-textformat-parent.above-image {
                z-index: 10000;
                position: absolute;
            }
            

            Best!

            Play around with this and have a look into basic CSS. Never a mistake to know those things.

            Best!

            Marius

            www.mariusjopen.world

            M 1 Reply Last reply Reply Quote 0
            • M
              miltosbottis @mariusjopen last edited by

              @mariusjopen
              Thank you very much.

              I know I have to get into it at least on a basic level.

              Cheers
              Miltos

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

                Dear @miltosbottis

                you will manage!

                :-)

                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

                A
                K
                F
                G

                Recent Topics

                • K

                  Unable to update lay theme / to login wp admin

                • A

                  New button feature not available

                • A

                  Theme crashed - because of Polylang?

                • A

                  fullscreen slider: slow load time + mobile: images dropping to bottom

                laytheme.com