X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Responsive background (https://forum.x-cart.com/showthread.php?t=72192)

autoscents 05-29-2015 10:47 AM

Responsive background
 
I am starting with the alternative clothing template and have xcart 5.2.4 and i would like to have my back ground resize it self to every size window like the page itself does already i also do not want the background to scroll. It needs to stay fixed and resize itself. I dont have a clue. Please help :?

totaltec 05-29-2015 11:02 AM

Re: Responsive background
 
Welcome to the forum. I take it you already have the background implemented in some way. If you provide a link to the site, we can easily suggest some CSS changes to achieve the effect you want.

autoscents 05-29-2015 11:53 AM

Re: Responsive background
 
Thanks for the quick reply! Here is the url the store is not live yet we are modifying it.

http://www.autoscentsinc.com/xcart5/cart.php

also for some reason the background is splitting in two?

totaltec 05-30-2015 07:42 AM

Re: Responsive background
 
Try taking the background off the html element. Keep it on the body only.
Then add some CSS3:

background-size: 125%;

You might also try:

background-size: cover;

autoscents 06-01-2015 06:26 AM

Re: Responsive background
 
Mike,

Thanks for the tip but im new to xcart 5 and still don't know where all that is located where is the html for that and where would the css file be to make that change? I greatly appreciate your help on this!

totaltec 06-01-2015 05:16 PM

Re: Responsive background
 
No problem.But now I am the one confused. How did you add the background in the first place?

Anyway, you can make the CSS change, which is all that is needed, in the custom CSS section under look and feel. This is the easiest way to affect your front end CSS.

autoscents 06-02-2015 05:23 AM

Re: Responsive background
 
All i did was ftp the new background with the same name to the same directory the old background was in! easy stuff right there lol. I have tried to do some of that custom css stuff and it keeps messing up my pages this xcart5 is throwing me for a loop. sorry for being so dumb when it comes to this stuff!

autoscents 06-02-2015 11:39 AM

Re: Responsive background
 
Mike,

I think I got it! Take a look and tell me what you think? I really appreciate your help!

totaltec 06-06-2015 09:07 AM

Re: Responsive background
 
Quote:

Originally Posted by autoscents
Mike,

I think I got it! Take a look and tell me what you think? I really appreciate your help!

Looks good to me! Glad it worked out.


All times are GMT -8. The time now is 02:31 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.