Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #849600

    Hi,

    I want to change the background on the text element on my blog pages but not change the entire background which is black. So I only want to change the background in the text element since is not quite readable with the white text on black background. I want the text element background to be white or light grey and the text black.

    How can I do that?

    Best regards
    Anine

    #849621

    Hey Anine,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    .single-post .entry-content {
        background-color: #888;
        padding: 5px 10px;
    }
    

    Best regards,
    Yigit

    #850180

    Hi,

    I’ve tested this code but I can’t get it to change the background color in the text area on my blog post pages. I’ve clear caches.

    Best regards
    Anine

    #850195

    Hi,
    Please try:

    .single-post .entry-content {
        background-color: #888!important; 
        padding: 5px 10px!important; 
    }

    please see screenshot in Private Content area of how it will look.

    Best regards,
    Mike

    #850204

    Great that works. Which code should I add if I also want to change the font color?

    #850207

    Hi,
    try:

    .entry-content p {color: red !important; }

    Best regards,
    Mike

    #850247

    Okay it sort of works by all my bullits + the text lines after the bullits don’t change color. Is there a way to fix that to?

    #850308

    Hi,

    I’m not seeing any bullets on the page linked above. Could you tell me where I should be looking?

    Best regards,
    Jordan Shannon

    #850650
    #850777

    Hi,

    Add the following to quick css:

    
    .entry-content ul {color: #000 !important; }

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.