Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 322 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
    S
    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
      RichardR
      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
        S
        susan39
        wrote on last edited by
        #3

        thank you very much!

        1 Reply Last reply
        1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        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