[Resolved] individual post image background

Home Forums Support [Resolved] individual post image background

Home Forums Support individual post image background

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1625307
    Raj

    hello, i’d like to post a background image

    on some specific posts. as such, is there a way to have a background image post for an individual post?

    running:
    3.0.3
    1.12.3

    thanks,

    #1625401
    Leo
    Staff
    Customer Support

    Hi there,

    We would need to use CSS.

    Can you link me to the post in question and let me know which background (body, content?) you want to add?

    #1626513
    Raj

    hi Leo, see attached. thanks. I’ve pasted the link.
    ty.

    #1626592
    David
    Staff
    Customer Support

    Hi there,

    can you provide a login so we can get past the Maintenance Mode.

    #1626604
    Raj

    yes, and oops! pasted below:
    -R

    #1626680
    David
    Staff
    Customer Support

    If its just that post then you can use this CSS:

    .postid-5115 #page {
        background-image: url('full_url_to_the_image');
        background-size: cover;
        background-position: 50% 50%;
    }

    The 5115 in the .postid-5115 refers to the ID of the post itself.

    If you want to be displaying different images for different posts then we would need a more dynamic method… let me know.

    #1626689
    Raj

    thank you! this puts me on the path.
    have a good one.

    R.

    #1626701
    David
    Staff
    Customer Support

    You’re welcome

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