Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1001562
    Becky Zingler
    Participant

    Hi,
    I am trying to change the color of my blog post background including the title of the post. So far I have tried:
    .single-post.entry-wrap {
    background-color:#fff!important;
    box-shadow: 0 0 20px #404A09!important;
    }
    The current color of the background is coming from a class I added in the html.
    Url: http://futurewooddev.johnsontimber.com/

    Thanks for your help!

    #1001806
    Rahul
    Moderator

    Hey there,

    Thanks for writing in! Can you please link us to the exact page where you’re trying to make this changes?

    #1001828
    Becky Zingler
    Participant

    Here is a link to one of the post pages. There are several that I would like to appear the same way;
    http://futurewooddev.johnsontimber.com/michigan/robert-huray/

    #1002259
    Friech
    Moderator

    Hi There,

    Change the individual blog posts background-color with this custom css

    .single-post .site {
    	background-color: blue;
    }

    And change the title color with the css code below;

    .single-post .site .entry-title {
    	color: red;
    }

    Hope it helps, Cheers!

    #1005333
    Becky Zingler
    Participant

    Thanks for your prompt reply. This is not quite the answer that I am looking for. I would like the title to be inside of the same box that currently houses the photo and text. Is there a way to include the title inside of this same box? I am including a screen shot. I like the way that this currently displays but would like the title inside of that same white boxed area.

    Thank you!

    #1005437
    Darshana
    Moderator

    Hi there,

    Could you please try adding the following JavaScript code into your Customizer, Custom > JavaScript section.

    
    jQuery(function() {
        jQuery( ".entry-header" ).insertBefore( ".postid-298 .entry-content.content .textbox p" );
    });
    

    Hope that helps.

    #1006032
    Becky Zingler
    Participant

    Thanks for your help I just ended up moving the title below the picture in the text and hiding the regular title. The javaScript didn’t seem to do the trick.

    #1006497
    Darshana
    Moderator

    Hi there,

    Your title is in white color and your content box background is white. You can add this under Custom > CSS in the Customizer to change the title color.

    
    .post-298 .entry-title {
        color: #000000;
        display: block !important;
    }
    

    Hope that helps.

  • <script> jQuery(function($){ $("#no-reply-1001562 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>