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

    Hi,

    I’m trying to duplicate a style from an old theme to enfold and make the sidebar blog widget display like the image attached below and want to increase the font size of the title and text, but can’t see anywhere in the advanced styling or anywhere that affects it. Can you please give me an idea how to change this in custom css?

    Thanks.

    • This topic was modified 7 years, 9 months ago by yes9310.
    #647343

    Hey yes9310,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
    change the background color value to suit your design.

    .recent_posts_with_excerpts li {
     background: lightblue;
     padding:30px 20px 30px 30px;
     margin-bottom:30px
    }
    
    .recent_posts_with_excerpts li h2{
     font-size:16px;
     line-height:24px;
    }
    
    .recent_posts_with_excerpts li h3{
     font-size:10px
    }
    
    .recent_posts_with_excerpts li blockquote {
      border:none!important;
      padding:0
    }
    

    This will affect on all pages where you have recent post to display only on home add .hone selector in front of .recent_posts selector.

    Best regards,
    Vinay

    • This reply was modified 7 years, 9 months ago by Vinay.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.