Background Image Align Bottom

Discussion in 'StartPoint Business One Page WordPress Theme' started by sangermike, Dec 2, 2014.

Thread Status:
Not open for further replies.
  1. sangermike

    sangermike Member

    Joined:
    Mar 9, 2014
    Messages:
    311
    Likes Received:
    5
    I put a background image for pages 1500x1100. I dont know what's the ideal size for it. It looks ok for short pages but when the content spans longer. the image floats in the middle. repeating makes it look messy. Is there a way to stretch it automatically to the size of the page? OR may I have the CSS to align the image to the bottom of that container. Thanks

    bg no repeat.jpg bg no repeat2.jpg
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.
    Code:
    .blogpost-wrapper {
    background-size: cover;
    }
    It will resolve your issue.

    Thanks & Regards
    Yogesh Bhade
     
  3. sangermike

    sangermike Member

    Joined:
    Mar 9, 2014
    Messages:
    311
    Likes Received:
    5
    Thanks Yogesh.
     
Thread Status:
Not open for further replies.

Share This Page