Shape 5

Joomla Templates => Oasis - Club => : mosfly45 May 18, 2014, 04:24:16 PM



: Background Image Not Showing Properly in Mobile + Tablet View
: mosfly45 May 18, 2014, 04:24:16 PM
Mobile View of my site (http://quirktools.com/screenfly/#u=http%3A//88keysmedia.com&w=320&h=568&a=37)

It appears that when the background image gets compressed in mobile view, it no longer displays behind the header area. My slides are 1200x600, would using a different size correct this? If so, what size?

Additionally, I noticed that if I click a menu link, the entire background image will show when I go to that article. To prevent this, I created a copy of the content fader module and set that to display on all NON-homepage links. Was this the right thing to do or was there a setting or a shortcut?

This worked well enough for me until I started testing the mobile views. It appears that if you click on any of the menu items on my site, the header background will be distorted in their mobile views. How can I resolve this?


: Re: Background Image Not Showing Properly in Mobile + Tablet View
: mikenicoll May 19, 2014, 09:30:23 PM
Hello,

For the header background you are using 2 different images here:

On the main site you have this set as the background:

:
Template.CSS - Line 516

#s5_header_area1 {
    background: url("../images/s5_menu_bg.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: block;
    height: 114px;
    overflow: hidden;
    width: 100%;

Once mobile is triggered you are calling this image:

:
#s5_header_area1 {
    background: url("http://88keysmedia.com/images/iacf1.jpg") no-repeat scroll center top / 100% auto #333D44;
    position: relative !important;
    z-index: 0;
}

This URL doesn't actually point to an image on your server:

http://88keysmedia.com/images/iacf1.jpg

That is why you are just seeing the opaque grey instead of the overlay on other pages.

-Mike


: Re: Background Image Not Showing Properly in Mobile + Tablet View
: mosfly45 May 21, 2014, 08:11:18 PM
Thank you for the tip. I was able to upload a file with that name and make it work, however, I cannot find what file that second piece of code is in. Can you clarify?


: Re: Background Image Not Showing Properly in Mobile + Tablet View
: mikenicoll May 21, 2014, 10:54:45 PM
Hello,

It is an index.php call pulled directly from the Template Manager's backgrounds tab with an echo.

-Mike