Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2008
    Posts
    321
    Plugin Contributions
    0

    Default Centering "Have You Got Yours" image on main page

    How to I center my image, its the same place where the "Have You Got Yours" image was on main page?

    thanks

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Centering "Have You Got Yours" image on main page

    Quote Originally Posted by wagnerguy View Post
    How to I center my image, its the same place where the "Have You Got Yours" image was on main page?

    thanks
    Wa,
    Locate this:
    includes/templates/classic/css/stylesheet.css
    Add this to the bottom of the stylesheet.css

    IMG {
    display: block;
    margin-left: auto;
    margin-right: auto; }

    Oh, NO Mr. Bill
    The dreaded classic template

    Please take time to click on the tab at the top of this page called Tutorials/FAQ

    1. Search for override system
    2. Will need for any future upgrades of your nice site
    3. The site makes me want to chop on my big brother who use to pound on me!! LOL
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    889
    Plugin Contributions
    0

    Default Re: Centering "Have You Got Yours" image on main page

    The code posted in the previous post will most likely center ALL your images regardless of what page they are on or whether you want them centered or not lol though you really should listen to haredo's advice on overides :)

    Add this into your stylesheet instead:

    Code:
    #indexDefaultMainContent {
        margin: auto;
        text-align: center;
        }
    HunnyBee Design - ZC 1.3.9h ~ Digiscrap Forum
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

  4. #4
    Join Date
    Aug 2008
    Posts
    321
    Plugin Contributions
    0

    Default Re: Centering "Have You Got Yours" image on main page

    thanks folks, but I i am using the overide system, did you guys see a mistake somewhere?

  5. #5
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    889
    Plugin Contributions
    0

    Default Re: Centering "Have You Got Yours" image on main page

    Code:
    <link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet.css" />
    <link rel="stylesheet" type="text/css" href="includes/templates/classic/css/stylesheet_css_buttons.css" />
    <link rel="stylesheet" type="text/css" media="print" href="includes/templates/classic/css/print_stylesheet.css" />
    The stylesheets are being pulled from the classic folder, this is not using the override system as anything in the classic folders will get over-written....and changes lost....with future upgrades. You need to create your own custom folders for your template wherever you *see* a classic folder and use those instead.

    Glad you got it centered
    HunnyBee Design - ZC 1.3.9h ~ Digiscrap Forum
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

 

 

Similar Threads

  1. Remove "Product Image" "Item Name" and "Price"...
    By rebekah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 06:08 PM
  2. Centering an Image on Main Page
    By reversegarbage in forum Basic Configuration
    Replies: 3
    Last Post: 21 Jul 2008, 05:42 AM
  3. Replies: 1
    Last Post: 21 Sep 2007, 09:15 PM
  4. Need help changing text size for: "Congratulations" & "Welcome Guest" on main page
    By STFlats in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 16 Apr 2007, 04:32 AM
  5. Change "Log In" tab on main page to "Log In/Register"
    By mcpisik in forum Basic Configuration
    Replies: 4
    Last Post: 17 Feb 2007, 01:23 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
  •