Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #609961

    Hi, is there a way to make the entire background of the content (main) area a gray, but the background for the post, white?
    So the sidebar is against gray, the background of the whole page is the same gray…just the post itself has a background of white.

    I dont think there is an admin panel option to change the backgrounds like this.

    Thanks

    #610081

    Hey esemmel,

    Could you provide us with a link to the site in question so that we can take a closer look please? I’m not sure if I understand exactly what you are trying to achieve so please try to explain a bit further and/or post screenshots of your desired results.

    Regards,
    Rikard

    #610189

    Hi. In trying to explain it better. The default seems to be, the entire background of the entire content area (post area, sidebar, and background) is the same – most of the time white. What if I want to make them all gray, but have the post area background white, so it stands out more. As seen here: http://pexetothemes.com/demos/story_wp/blog/ ?

    #610224

    Hi!

    Using following code in Quick CSS in Enfold theme options > General Styling should help

    article .entry-content-wrapper {
        background: orange;
    }

    In case it needs adjustments, please post the link to your blog page

    Best regards,
    Yigit

    #610243

    Tried it, no change. Even tried to add an !important code…no change.

    here’s the url of the post im working with for this test.

    #610250

    Hey!

    Please use following code

    .single-post .entry-content {
        background: white;
        padding: 10px;
        margin-top: -12px;
        border: 1px solid #e2e2e2;
    }

    Cheers!
    Yigit

    #610251

    The hardest part of making changes like these is knowing the correct element to then make the css declarations. The code of actually changing the background color is easy background:#cccccc (or whatever color you want)…it’s knowing the exact class element to enter that is so difficult to figure out.

    #610254

    Still, no change…everything is gray

    #610289

    Hi, Actually…in looking further. Each of them made a similar change.
    What I noticed was, I had a piece of css code above the ones you gave me, but no closing }
    That was messing up any code that came after it.

    #610290

    Hey!

    Glad you figured it out!
    Should we mark the thread as resolved and wish you a great weekend or would you need more assistance? :)

    Regards,
    Yigit

    #610301

    Hi, yes this issue is resolved.
    However, is there any cheat sheet or documentation about how the coding is arranged so better be able to know which elements to call to make css modifications?

    #610312

    Hey!

    Great!

    Since Enfold has so many elements, unfortunately we do not have such documentation but you can enable custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and edit your elements, give them a custom class and target them individually. If you need any help, feel free to start a new thread and we will gladly help :)

    Enjoy your weekend!

    Cheers!
    Yigit

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Post content background different color’ is closed to new replies.