Home Forums Designer Blocks for Gutenberg Additional CSS Class in a list

This topic contains 1 reply, has 2 voices, and was last updated by  scrambler 2 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #60022

    jmittendorf
    Participant

    Hello,

    I have tried to create a new CSS Class for a list to change the font-size.

    My new class is called “mylist-size”.

    I have made this entry for an Additional CSS Class in the Gutenberg Editor for a list entry.

    But I don’t know where to write the class complete.

    I want to it over Design – Customizer – Custom CSS , but then I have found nothing about the list entry.

    Thank you very much for the help. I hope I have explained it correctly.

    Greetings Jörg

    #60025

    scrambler
    Moderator

    If you mean you added a LIST block, then in the advanced options of the block added your class, then all you need to do to style the list using the class, is add your CSS rules using the class in the theme Global Custom CSS Rule box.

    For example, the rule below will change the font size.

    .mylist-size {font-size:150%;}

    If you need more help, please be specific and provide a link to the page with the list in place

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.