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. Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
  3. Character style in a text block

Character style in a text block

Scheduled Pinned Locked Moved Need Custom Coding for Lay Theme? Find 3rd Party Developers here.
3 Posts 2 Posters 111 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.
  • G Offline
    G Offline
    giselach
    wrote on Aug 9, 2022, 12:58 PM last edited by
    #1

    Hello!

    I am trying to change the line height in one single word of a text.

    so far I have created a text style for each (one for the main text and another for the word). but when I try to change the style of that specific word in the text editor —by selecting the word and choosing another style— the whole text changes its format.

    how can I create a character style??

    thanks!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      arminunruh
      Global Moderator
      wrote on Aug 9, 2022, 4:15 PM last edited by
      #2

      when you create a textformat choose "character" here:
      Screenshot 2022-08-09 at 18.14.51.png

      1 Reply Last reply
      0
      • G Offline
        G Offline
        giselach
        wrote on Aug 10, 2022, 8:29 AM last edited by
        #3

        hello!

        thanks for you answer!, yes, I got there, but in the "text formats" page and while creating a character style I cannot set a shift in the baseline grid (sub/superindex) or a different line height. I did a custom Css that says:

        .Author{
        baseline-shift: 3em !important;
        }

        .Title{
        baseline-shift: super !important;
        }
        (title and author being the character styles that I created in the text formats)

        nothing changes when I apply these character styles in the text editor

        any solutions?

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

        2/3

        Aug 9, 2022, 4:15 PM


        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.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Search