like putting a background image only specific page or category

Home Forums Support like putting a background image only specific page or category

Home Forums Support like putting a background image only specific page or category

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #201078
    jordi

    Hello Tom,

    You can put a background for the whole site including the container but only look on a page or in a category?

    attached web link and image sample

    http://pelisdanko.com/peli/a-royal-night-out-2194
    http://www48.zippyshare.com/v/M9gDNVKS/file.html

    Thank you

    #201112
    Tom
    Lead Developer
    Lead Developer

    You’ll need to use CSS.

    If you have our Simple CSS plugin (https://wordpress.org/plugins/simple-css/), you can add your CSS into the “Simple CSS” metabox while editing the specific page:

    body {
        background-image: url( URL TO YOUR IMAGE );
    }

    Since there’s no page to edit for categories, you would have to add some global CSS in “Appearance > Simple CSS” and target the catgeory with the ID.

    For example:

    body.category-1 {
        background-image: url( URL TO YOUR IMAGE );
    }

    1 being the ID of the category.

    #201250
    jordi

    Hello Tom

    Thank you
    how many pixels must have the image so that it is not repeated (attached picture) the result is not what I wanted, I want you to see the image across the web, including container and widgets.

    Thank you

    http://www26.zippyshare.com/v/JAIlFHsb/file.html

    #201318
    Tom
    Lead Developer
    Lead Developer

    It depends, but you can set it to cover:

    body {
        background-image: url( URL TO YOUR IMAGE );
        background-size: cover;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.