Forum Support

Shape 5
March 28, 2024, 12:08:21 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Background Image Not Showing Properly in Mobile + Tablet View  (Read 371 times)
mosfly45
Jr. Member
**
Offline Offline

Posts: 54



« on: May 18, 2014, 04:24:16 PM »

Mobile View of my site

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?
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #1 on: 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:

Code:
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:

Code:
#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
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
mosfly45
Jr. Member
**
Offline Offline

Posts: 54



« Reply #2 on: 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?
Logged
mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #3 on: 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
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.