[Resolved] Having issues with customizing blog and post layouts

Home Forums Support [Resolved] Having issues with customizing blog and post layouts

Home Forums Support Having issues with customizing blog and post layouts

Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #2204175
    Ying
    Staff
    Customer Support

    Glad to hear that 🙂

    #2208931
    David Jiménez

    Hi, to close this topic, could you please help me to add some style for the categories list of the block editor, i want the list “2” have the style closest to “1” as you could see on the image above:

    https://snipboard.io/r9gytc.jpg
    Blog Link

    #2209208
    David
    Staff
    Customer Support

    Try adding this CSS:

    
    
    .wp-block-categories-list {
        list-style: none;
        text-transform: uppercase;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        font-size: 15px;
        font-weight: 500;
    }
    
    .wp-block-categories-list li a {
        padding: 5px 0;
        margin: 0 5px;
    }
    
    .wp-block-categories-list li a:hover {
        text-decoration: none;
        border-bottom: 2px solid var(--naranja-acentuar);
    }
    #2209229
    David Jiménez

    Thanks, works perfect.

    #2209231
    David
    Staff
    Customer Support

    You’re welcome

    #2209240
    David Jiménez

    sorry, i fixed it. Thank you

    #2209252
    David
    Staff
    Customer Support

    Update the CSS to this:

    .horizontal.wp-block-categories-list {
        list-style: none;
        text-transform: uppercase;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
        font-size: 15px;
        font-weight: 500;
    }
    
    .horizontal.wp-block-categories-list li a {
        padding: 5px 0;
        margin: 0 5px;
    }
    
    .horizontal.wp-block-categories-list li a:hover {
        text-decoration: none;
        border-bottom: 2px solid var(--naranja-acentuar);
    }

    Then select the Block you want to apply it to, and go to Advanced > Additional CSS Classes and add: horizontal

    #2209260
    David Jiménez

    thanks, for your help.

    #2209274
    David
    Staff
    Customer Support

    You’re welcome

Viewing 9 posts - 16 through 24 (of 24 total)
  • You must be logged in to reply to this topic.