Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. How to: First thumbnail in column starting only at 40% browser height

How to: First thumbnail in column starting only at 40% browser height

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 62 Views
  • 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.
  • L Offline
    L Offline
    LN
    wrote on last edited by
    #1

    I’d like the first thumbnail image to only begin at 40% of the vertical height. That is, the whole column with thumb images, each with text underneath, should start at some distance from the top of the page.
    (see screenshot of design-dummy)
    Bildschirmfoto 2020-07-24 um 14.16.02.png
    I do not want to target a specific image as my client will update this thumbnail column on his own and I do not want him to have to attribute classes or delete attributions manually. So, there should be a more general solution targeting the first image in this column or to define a padding-top (?) for the whole column.

    I tried to target this column or the first image in this column, but it seems that the following images then have the same distance to the preceding image. I am stuck.
    Maybe there is some help? Thank you very much.

    www.neu.eder-la.ch

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by
      #2

      Dear @LN

      I hope i understand your problem and please correct me if i am wrong :)

      The main content should start at 40% of the page's height, however because you want your client to have freedom to change picture we cannot target any one image specifically.

      Screen Shot 2020-07-29 at 3.25.05 PM.png

      Here in the picture above i have targeted to whole "grid" and increased its "padding-top" from 1% to 40% using "Custom CSS & HTML"

      Does this suit your needs or is it too simple a solution?

      Your client can still change the images and this will continue to use the 40%

      I hope this sets you in the right direction!

      https://www.khanacademy.org/computing/computer-programming/html-css

      https://www.khanacademy.org/computing/computer-programming/html-css/web-development-tools/a/using-the-browser-developer-tools

      These are two links that can introduce you to the basics of CSS if you having difficulty

      As always thank you heaps for using Lay theme and having Patience with the Forum

      Best wishes

      Sincerely
      Richard

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      I also code custom websites or custom Lay features.
      💿 Email me here: 💿
      info@laytheme.com

      Before you post:
      1. When using a WordPress Cache plugin, disable it or clear your cache.
      2. Update Lay Theme and all Lay Theme Addons
      3. Disable all Plugins
      4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

      This often solves issues you might run into

      When you post:
      1. Post a link to where the problem is
      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
      Online Users
      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
      laytheme.com
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Search