Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding a repeat-y border (image) down left and right sides

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-27-2010, 07:18 AM
 
MikeBrum MikeBrum is offline
 

Advanced Member
  
Join Date: May 2003
Location: Morro Bay, Ca
Posts: 59
 

Default Adding a repeat-y border (image) down left and right sides

I need some help with something:

I have a header background image defined. But now I can't figure out how to add a repeat-y image border and foooter image. I created a slim 1px x 12px wide image that will be my repeating border. How do I add this? and center it below my header?, without it being on top of my header and everything else?

Also, how do I add a footer image?

Here is the coding I added to create my header background?

html,
body
{
margin: 0px auto;
margin:0;
background:url(images/fashion_mosaic/bg.jpg) no-repeat top center #291f16;
}
__________________
Toobs.com

X-Cart version 4.3.1
PHP: 5.2.14
MySQL: 5.1.47
Reply With Quote
  #2  
Old 01-27-2010, 08:48 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Adding a repeat-y border (image) down left and right sides

Hi Mike

You've posted this in the 4.2/4.3 forum - yet your signature shows 4.0.
Which is correct please? If it's 4.0 I'll move it, then you'll get some answers relevant to your template.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 01-27-2010, 09:40 AM
 
MikeBrum MikeBrum is offline
 

Advanced Member
  
Join Date: May 2003
Location: Morro Bay, Ca
Posts: 59
 

Default Re: Adding a repeat-y border (image) down left and right sides

The x-cart version I need to edit is 4.3...current work in progress.

Thanks
__________________
Toobs.com

X-Cart version 4.3.1
PHP: 5.2.14
MySQL: 5.1.47
Reply With Quote
  #4  
Old 01-27-2010, 06:00 PM
 
MikeBrum MikeBrum is offline
 

Advanced Member
  
Join Date: May 2003
Location: Morro Bay, Ca
Posts: 59
 

Default Re: Adding a repeat-y border (image) down left and right sides

Bump. Any help please?
__________________
Toobs.com

X-Cart version 4.3.1
PHP: 5.2.14
MySQL: 5.1.47
Reply With Quote
  #5  
Old 01-27-2010, 07:17 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Adding a repeat-y border (image) down left and right sides

Quote:
Originally Posted by MikeBrum
I need some help with something:

I have a header background image defined. But now I can't figure out how to add a repeat-y image border and foooter image. I created a slim 1px x 12px wide image that will be my repeating border. How do I add this? and center it below my header?, without it being on top of my header and everything else?

Also, how do I add a footer image?

Here is the coding I added to create my header background?

html,
body
{
margin: 0px auto;
margin:0;
background:url(images/fashion_mosaic/bg.jpg) no-repeat top center #291f16;
}

A url would help. If the above is for the header why do you add the image in html,body? Add it to #header. Add footer background in #footer. Border can go in #page-container or whatever your median part is called if that border have to apply for that median part only
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #6  
Old 01-27-2010, 07:24 PM
 
MikeBrum MikeBrum is offline
 

Advanced Member
  
Join Date: May 2003
Location: Morro Bay, Ca
Posts: 59
 

Default Re: Adding a repeat-y border (image) down left and right sides

Hi Steve and thank you for the reply.

http://67.20.92.91/store/home.php is the test url for the new cart.

I'll look into your suggestions and again...thank you for your input.
__________________
Toobs.com

X-Cart version 4.3.1
PHP: 5.2.14
MySQL: 5.1.47
Reply With Quote
  #7  
Old 01-27-2010, 07:42 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Adding a repeat-y border (image) down left and right sides

I see it now. That image is not for the header - it takes much more space. You may need to break it into few images and apply each one on different elements. You can also try with div's with absolute positioning for some of the images. Also may need to change the with of the page-container so it includes the border and make the backgroung of it 1px height and whatever the width of the container is. That way you get vertical repeat of the background with the border
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020