1 reply [Last post]
pauly24
pauly24's picture
Offline
newbie
Melbourne
Last seen: 1 year 42 weeks ago
Melbourne
Timezone: GMT+11
Joined: 2016-05-02
Posts: 7
Points: 12

Hi,

I'm trying to sort out the background on this site https://www.vividoelectronics.com.au/ for when the site is viewed on a mobile.

At the moment if you go to the site on a mobile browser it just shows the clouds for the background, I'd like it to be more centered on the mobile so you can see the road.

I thought I fixed it with this code

.full-width-page .row {
background-position: 47% 53%;
}

But with this styling if you change the viewing to 1200*1200 then the site breaks.

I don't know enough about css styling so was hoping someone could help me out here.

Thank you.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 10 hours 10 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9714
Points: 3790

try this

{background-size: cover;}
 
cheers,
 
gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.