Skip to content

Forum Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Michael
    Keymaster

    Check also this solution, to put “Category:” on a separate line in separate font size:

    
    
    .wp-block-query-title>span{
     font-size: 4rem;
     display: block;
     line-height:1.1;
    }
    
    
    • This reply was modified 2 years, 2 months ago by Michael.
    Michael
    Keymaster

    To hide “Category:” or “Tag:” add the following CSS to your theme:

    .wp-block-query-title{
    font-size: 0;
    }

    .wp-block-query-title>span{
    font-size: 36px;
    display: block;
    }

     

    You can add it directly in customizer via Global Settings -> Additional CSS

    or

    add it to your child-themes style.css if you are using one.

    Do not add it to the main theme style.css, as it will be overwritten on updates.

    BR Michael

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