Site logo

[Support request] How I can create this style for my widgets titles?

Home Forums Support [Support request] How I can create this style for my widgets titles?

Home Forums Support How I can create this style for my widgets titles?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2480915
    Anonymous

    Hello,

    How I can create this style with the full background red for my widget titles like it shows on the website below on widgets titles “Features, Forum Topics, Most read and so on.”

    Also, I would like to add this style for my sections titles.

    Thanks,

    Sara

    #2480960
    David
    Staff
    Customer Support

    Hi there,

    you can add some CSS to target the H2 in the single post and in the sidebar :

    .single-post h2, .sidebar h2 {
        padding: 5px;
        background-color: #f00;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0,0,0,.3);
    }
    #2483171
    Anonymous

    Hello David,

    How I can do the same for Single Post layout on the Comments Section so title “Leave a Comment” has same red style?

    Thanks!

    #2483224
    David
    Staff
    Customer Support

    You can include the #reply-title selector in your CSS:

    
    .single-post h2, 
    .sidebar h2,
    #reply-title {
        padding: 5px;
        background-color: #f00;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0,0,0,.3);
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.