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. change font size for different thumbnails

change font size for different thumbnails

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 104 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.
  • S Offline
    S Offline
    susan39
    wrote on last edited by
    #1

    hey guys,

    Is there a possibility to change the font size for different thumbnails?

    thanks for your help and greetings :)

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

      Dear Susan

      @susan39

      Not with any built in settings like in customise sorry, but you can do this manually. šŸŒ

      If you have a Project Thumbnail separate in the Gridder you can give it a custom class and then assign a font to it:

      Screen Shot 2022-05-18 at 5.41.58 PM.png

      The CSS would be something like:

      .customclass{
      font-family:my-font-family-name-here;
      font-size:20px;
      }
      

      (you can find out the font-family name in "text formats"):
      Screen Shot 2022-05-18 at 5.50.47 PM.png

      E.g:

      .customclass{
      font-family:_Default;
      font-size:20px;
      }
      

      The above code would be added into > Lay Options > Custom CSS & HTML > Custom CSS

      https://laytheme.com/documentation/custom-css-styling.html

      If you are doing it in a Project Thumbnail Grid it would be a little more difficult, but still doable. We would need to inspect the Grid and target the specific thumbnail by its number.

      In the Thumbnail Grid is the 'thumb-collection' which is holding all the thumbnail's inside. A single thumbnail is defined as 'thumbnail-wrap'.

      So we could say the third thumbnail (thumbnail-wrap) is what we want to target and then apply the CSS to:

      We can do this with the `nth-child' selector:

      https://www.w3schools.com/cssref/sel_nth-child.asp

      So code would look like:

      .thumbnail-wrap:nth-child(3) {
      font-family:my-font-family-name-here;
      font-size:20px;
      }
      

      Hope this helps Susan and best wishes ✨
      Richard
      1 Reply Last reply
      0
      • S Offline
        S Offline
        susan39
        wrote on last edited by
        #3

        thank you very much!

        1 Reply Last reply
        1
        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