[Support request] Customize background

Home Forums Support [Support request] Customize background

Home Forums Support Customize background

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

    Hello there.
    Please, I would like to change the background image (both Body and Container) in some pages/posts.
    I have already set up a background image in Appearance > Customize > Background Images > Body (and Content).
    How can I do to set up different background image in some specific pages?
    Thank you.

    #1599684
    David
    Staff
    Customer Support

    Hi there,

    if you’re adding various colors to various pages then the simplest solution is to install the Simple CSS plugin:

    https://en-gb.wordpress.org/plugins/simple-css/

    This will provide a Simple CSS meta box in your post/page editor where you can add CSS just for that page. The CSS for each, would be:

    body {
        background-image: url('full-link-to-your-image-here');
    }
    #1599714
    Enrico

    Thank you David.
    I already tried in that way, but the background container doesn’t change.
    I would like (but maybe isn’t possible) a transparent background container.
    Please have a look here.
    Maybe I’m asking something stupid, but I’m a beginner…
    Thanks

    #1599763
    David
    Staff
    Customer Support

    Its working – but unless you view it on a really large screen its being hidden by the article container… do you want the image behind the content area?

    #1599799
    Enrico

    I would like to hide the background of inside-article container.
    I know my is not a technical language, I’m sorry.
    Please see what I would like to have
    background

    #1599814
    David
    Staff
    Customer Support

    Ok so change the CSS to this:

    /* add body background */
    body {
        background-image: url('full-link-to-your-image-here');
        background-size: cover;
    }
    /* Remove background from article content */
    .separate-containers #main .inside-article {
        background-image: none;
        background-color: transparent;
    }
    #1599866
    Enrico

    How can I offer you a beer? πŸ™‚
    It’s working perfectly!
    Grazie!

    #1599868
    David
    Staff
    Customer Support

    We’ll we do accept coffee donations πŸ™‚
    https://generatepress.com/ongoing-development/

    Glad to be of help!

    #1600258
    Enrico

    I did πŸ™‚
    Ciao

    #1600503
    David
    Staff
    Customer Support

    Thats really kind of you and much appreciated !
    Best wishes for the New Year!

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