Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default Can I do this with CSS

    I'm working on one of my sites:

    http://www.merchantsrowonline.com

    It's a work in progress. I've done most of my editing using FireFox's editing tool and then copying my changes into a css i'm keeping locally, that way I have the original and all of my changes will be made at once.

    So what I'm wanting to do is take my image:

    http://www.merchantsrowonline.com/images/boxfooter.jpg

    and put it at the bottom of each sidebox.

    Can I do this through CSS or will I have to edit each side box?
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,691
    Plugin Contributions
    123

    Default Re: Can I do this with CSS

    Look at how the leftBoxHeading works in the css, particularly at the background-image. Then look at how it is created (i.e. in ./templates/template_default/common/tpl_box_default_left.php).
    You will need to customize this file and then create something like a leftBoxFooting div which works the same way.

    Good luck,
    That Software Guy
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Can I do this with CSS

    You can apply this in your style sheet and adjust padding to gain the space for the text entries:
    Code:
    .sideBoxContent {
    	background-color: #ffffff;
    	padding: 0.4em;
            background-image: url(../images/boxfooter.jpg);
            background-repeat: no-repeat;
            background-position: 0% 100%;
    	}
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default Re: Can I do this with CSS

    Thank you Kobra!

    http://www.merchantsrowonline.com

    Took me a second to figure out the padding, cracked open w3schools and did some research. I used a px value as opposed to a percentage so I'm thinking it should be the same on all machines and resolutions. Though I've got plenty of work left to do check out the link and let me know if it looks ok.


    Thanks again!
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

 

 

Similar Threads

  1. Can I do this with Zen Cart/CSS??
    By brighteyedbambam in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Oct 2009, 12:39 AM
  2. Replicating this with CSS? -> Shadow, Roundcorner, Gradient
    By renaissanceart in forum Templates, Stylesheets, Page Layout
    Replies: 26
    Last Post: 4 Sep 2008, 01:09 PM
  3. Can't find this in my CSS sheet...
    By Brian Flanagan in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Feb 2008, 12:41 PM
  4. Can't find this in css
    By Jodz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 May 2007, 10:39 AM
  5. Can't find this in css
    By Jodz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Nov 2006, 06:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR