Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jul 2011
    Location
    London
    Posts
    15
    Plugin Contributions
    0

    Default Newbie Needs Help

    Hello :)

    First post on here. For the past 24hrs I have been trying to find out how to change the area outside of the shopping cart template.

    Does it have an official name? I am searching for edit background and coming up with nothing.

    I have added a pic that explains the area that I need to chnage.

    Please can someon help me before I have no hair left please. Thank you
    Attached Images Attached Images  

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Newbie Needs Help

    that is your page background . you can control the look ( color , background image ) by using your Stylesheet.css .. normally background color or image directive goes between body() tag in your stylesheet.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Newbie Needs Help

    For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    (If you're using Firefox 4 or 5, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)

  4. #4
    Join Date
    Jul 2011
    Location
    London
    Posts
    15
    Plugin Contributions
    0

    Default Re: Newbie Needs Help

    Thanks,

    I will have a play and see how it goes :)

  5. #5
    Join Date
    Jul 2011
    Location
    London
    Posts
    15
    Plugin Contributions
    0

    Default Re: Newbie Needs Help

    I've had a look and I cannot figure it out. Can someone tell me what to do please?

    I can see where there is a color specified for the background, but how do I tell it to load a particular image, and can I preview it in Dreamweaver?

    Sorry to ask what prob seems like very basic questions to you, but i am a novice aththis. Been trained in DW like 4 years ago, and not really used it

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Newbie Needs Help

    Best advice I can offer is to put Dreamweaver away while you're working with Zencart. It isn't really useful with other than flat HTML sites.

    If you tried Web Developer and clicked Ctrl-Shift-Y, you would have seen, as you moved the cursor around the page, that the area you asked about is body (as tony said). You would download the stylesheet.css file to your computer with your FTP program, open it in your text editor, and change the red part to the color you want it to be:

    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 62.5%;
    color: #000000;
    background-color: #e5edf5;
    }

    If you want to add an image, you would add this rule:

    background-image: url(../images/YOUR_IMAGE.jpg);

    where YOUR_IMAGE.jpg is in the includes/templates/YOUR_CUSTOM_TEMPLATE/images folder.

    Then upload the saved file to your custom template's css folder.
    Last edited by stevesh; 24 Jul 2011 at 09:27 PM.

  7. #7
    Join Date
    Jul 2011
    Location
    London
    Posts
    15
    Plugin Contributions
    0

    Default Re: Newbie Needs Help

    Thanks .. I actually want to add a striped baclground. How do I do that? I don't want a plain colour.

    I have seen lots of zen cart sites with images in the background.

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Newbie Needs Help

    I edited my last post, but, due to your visitors using different screen resolutions, the safest kind of image is one that wll tile (repeating pattern), rather than a photographic image.

  9. #9
    Join Date
    Jul 2011
    Location
    London
    Posts
    15
    Plugin Contributions
    0

    Default Re: Newbie Needs Help

    Thanks..that is exactly what I was looking for.

  10. #10
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Newbie Needs Help

    While DreamWeaver is a great WYSIWYG editor, the "ease" with which these software packages do the coding for its users does not do them any favours.

    Your issue seems a lack of knowledge of CSS.

    There are some good tutorials at W3schools.com .
    20 years a Zencart User

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Newbie Needs help
    By buttonmanb in forum General Questions
    Replies: 3
    Last Post: 5 May 2010, 11:20 AM
  2. Newbie needs help!!
    By richiec in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 16 Mar 2009, 10:57 AM
  3. Newbie needs help!!
    By richiec in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Mar 2009, 04:27 PM
  4. Newbie needs help!!
    By richiec in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 14 Mar 2009, 04:08 PM
  5. Newbie needs help!
    By bluealice in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Sep 2007, 11:46 PM

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