WordPress.org

Ready to get started?Download WordPress

Forums

Expound
Background positioning in Mobile Version (4 posts)

  1. vinn95
    Member
    Posted 8 months ago #

    I have added background image to the theme, that works fine in the desktop, but in mobile version the background image isn't visible in the display.
    I understand that I need to shrink the body of the page, but couldn't figure out the right code.
    Seeking advice.

  2. Konstantin Kovshenin
    Member
    Theme Author

    Posted 7 months ago #

    Hey there. Could you provide a link to your website with the background image?

  3. vinn95
    Member
    Posted 7 months ago #

    Yes, sure its vinns.in

  4. Konstantin Kovshenin
    Member
    Theme Author

    Posted 6 months ago #

    Looks like a solution would be to use the background-size property, but there may be some CSS on your page, preventing the whole page from fitting to the viewport, which is why the horizontal scroll bar appears on smaller widths.

    Here's more on background-size: http://www.w3schools.com/cssref/css3_pr_background-size.asp

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.