Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2012
    Posts
    12
    Plugin Contributions
    0

    Default I Removed logo and sideboxes etc. moved up.

    Hi There
    Am using v1.5 as a new install.
    Am a complete begginner with css, html etc. so have taken the last week nearly to set up my custom template.

    Used the classic template as a base and just worked throught the FAQ, forums etc. to customise everything, have looked for the answer to this problem.

    Am using FileZilla and Notepad++.

    Problem:
    I deleted the logo using this tutorial
    https://www.zen-cart.com/tutorials/i...hp?article=126

    Which worked fine except all my sideboxes and the middle cart area moved up and I cannot move them down again.

    Tried changing margin_top, margin, padding + on Boxcontainer and Boxheading.

    site where problem is:
    http://homeschoolheavenaustralia.com/catalogue/

    Thanks for your time.
    Turina

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: I Removed logo and sideboxes etc. moved up.

    In your stylesheet, find this block of code:

    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper{
    width:850px;
    height:110px;
    background-image:url(../images/);
    background-repeat: ;
    }
    and add margin-bottom: 135px; and remove the "unused" background-repeat: ; to make that whole block look like:

    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper{
    width:850px;
    height:110px;
    background-image:url(../images/);
    margin-bottom: 135px;
    }
    That should move your sideboxes back down.

    Also, you have a comma that's creating a parse error. Find and remove it in this block of code:

    Code:
    , #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
        margin: 1em;
        padding: 1em;
        }
    See it? Right before the "#cartBoxListWrapper?............yea.............that needs removed.


    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Apr 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: I Removed logo and sideboxes etc. moved up.

    Hi There,

    Thank you so much!

    Absolutely worked, now I can go to sleep and not think about it all night.

    Turina

  4. #4
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: I Removed logo and sideboxes etc. moved up.

    Not a problem. Glad to help.

    You also have about 3 more parse errors that need fixed for your css to validate.

    1. Find and remove the # from this block of code:

    Code:
    #navCatTabs ul li a {
        color: #none;
        }
    2. Find and remove (or add a value like "repeat-x", "repeat-y", or "no-repeat") the background-repeat:; from this block of code:

    Code:
    #logoWrapper{
        background-image:url(../images/);
        background-repeat:;
        background-color: #a9cf54;
        height:200px;
        width:850px;
        }
    3. Find and fix the "no repeat" (should have a hyphen, looking like "no-repeat") in this block of code (first block in the stylesheet):

    Code:
    body {
        margin: 0;
        font-family: verdana, arial, helvetica, sans-serif;
        font-size: 62.5%;
        color: #000000;
        background-image:url(../images/logotest.png);
        background-repeat: no repeat;(should be: background-repeat: no-repeat;)
        background-color: #43727f;
        }
    Once you get those fixed, you should have valid css!

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  5. #5
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: I Removed logo and sideboxes etc. moved up.

    Oh yea!, There ya' go. Now you have valid css!!

    Edit: Well..................ya' did. What happened to it?
    Last edited by Get Em Fast; 8 Apr 2012 at 04:58 PM.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #6
    Join Date
    Apr 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: I Removed logo and sideboxes etc. moved up.

    Sorry,
    went to put in a header in admin so I could post a link back to the main website, but it appears that the header is nearly 1/2 way down the page?!

  7. #7
    Join Date
    Apr 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: I Removed logo and sideboxes etc. moved up.

    How can you see all those mistakes? It looks all greek to me!

    I just downloaded firefox so I could use the website developer addon thing, but even though its made it heaps easier to see what I have to change (wish I had it earlier this week!!), I can't for the life of me see what I have done wrong.

    Do you know how I could get that header to sit at the bottom of the green bit in the logo area?

    Thanks again!!
    Turina

  8. #8
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: I Removed logo and sideboxes etc. moved up.

    Quote Originally Posted by Sherenanz View Post
    How can you see all those mistakes? It looks all greek to me!
    By using the WebDeveloper Addon for FireFox. Look at the button (if you use the toolbar vs. the "view" dropdown) Tools>Validate CSS (WHILE VIEWING YOUR SITE). That will take you to the W3C Schools' css validator, showing you all errors.

    Quote Originally Posted by Sherenanz View Post
    Do you know how I could get that header to sit at the bottom of the green bit in the logo area?

    Try looking in includes/templates/turina/common/tpl_header.php and moving the section of code containing the EZ-Pages;
    Code:
    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    up the page until you get it where you want it. You should be able to place it right under <!--eof-header logo and navigation display--> and get it pretty close to the top............if not, just keep moving that whole block of code up the page until it looks right.

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  9. #9
    Join Date
    Apr 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: I Removed logo and sideboxes etc. moved up.

    Thanks so much for all your tips and help!

    Moved everything, not exactly where I want it but will do for now. Theres some sort of space when I place it below the logo area that just won't let me place it right under the lime green area, but where it is is fine I think.

    CSS is validated, HTML is validated last time I looked. Didn't even know there was such a thing.

    Thanks again
    Turina

 

 

Similar Threads

  1. colours of search box etc and sideboxes
    By maxy007 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 14 Jan 2011, 10:48 AM
  2. Header Logo Image Error Report etc etc...
    By myemmadoodle in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2010, 04:27 PM
  3. Removed logo and tagline, now have white space
    By Andi98640 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 May 2010, 05:22 AM
  4. Whitesapce between logo and sideboxes
    By ss002d6252 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 5 Jan 2010, 10:35 PM
  5. Left and Right sideboxes moved
    By akumi in forum Basic Configuration
    Replies: 3
    Last Post: 13 May 2008, 05:31 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