Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Layout Customization

    Hi,

    I am wondering if there's anyone who can help me on my layout. My website is using "Mother_Earth" template and have made some changes to the colour of sideboxes. When I browsed to my page, www.dreampiece.com.au/index.php, it seems to me everything is in the right order & position, but when I tried to browse the same page using another laptop, all the layout get messed up, the border lines cross over my left sideboxes. In addition, why is there a big space at the right of my page which I can scroll over to?

    Besides this, I have just added the paypal logo & SSL logo at the tpl_bottom file, eventually it pulls my bottom banner to another line. How can I position my bottom banner at the right position and pull these 3 objects in order with a reasonable margin? Is this possible?

    I'm sorry for these dumb questions. And any of your helps, comments, suggestions will be highly appreciated. Thanks & have a nice weekend!

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

    Default Re: Layout Customization

    base on your background design. with white centre box , your page width should be 750px , but now you are using %.

    Before modifying your stylesheet. make sure you keep a current copy on your local computer
    .
    in your stylesheet.css locat following rule.
    your stylesheet.css is located in includes/templates/mother_earth/css/stylesheet.css
    #mainWrapper {stylesheet.css (line 172)
    background-image:url(../img/content_bg.gif);
    background-position:center center;
    background-repeat:repeat-y;
    text-align:left;
    vertical-align:top;
    width:87%; << set this to 750px
    }

    Then locate this rule in same style

    #headerWrapper {stylesheet.css (line 186)
    background-image:url(../img/header.jpg);
    background-repeat:no-repeat;
    height:150px;
    left:160px; << remove this line
    position:relative;
    }

    Then in same stylesheet locate this rule

    #navCatTabsWrapper {stylesheet.css (line 271)
    background-image:url(../img/bar.jpg);
    background-repeat:repeat-x;
    color:#000000;
    font-size:10px;
    font-weight:bold;
    height:26px;
    margin-left:0;
    margin-right:0;
    position:absolute;
    text-align:left;
    top:140px;
    width:760px; << set this to 750px
    }

  3. #3
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Hi Tony,

    Thanks for your quick response. I am truly thankful for your kind help and have made changes as suggested. As you can see, all the right side-boxes are still crossing the border of the lines, it is getting worse if I am browsing product pages.

    For your reference,

    Product page:
    http://www.dreampiece.com.au/index.p...&products_id=1

    main page:
    http://www.dreampiece.com.au/index.php

    This is what happened when I tried to load the default CSS in mother_earth template. Any suggestion?

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

    Default Re: Layout Customization

    locate this code stylesheet.css (line 402)


    .centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
    padding:20px; << remove this line.
    }

    this should also help you with other post regrading banner and your SSL logo in footer.

    hope this helps.

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

    Default Re: Layout Customization

    also
    stylesheet.css (line 380)


    table {
    padding-left:8px; << remove this as well.
    padding-right:8px;
    }

  6. #6
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Dear Tony,

    Thanks again for your quick help. Indeed your suggestion has solved my right categories box, it looks great when I browsed using Firefox but when I navigate the page via IE, the bottom banner still go to another line. Why is that so?

    Thank you so much and may God bless you always!

  7. #7
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Re: Layout Customization

    Quote Originally Posted by faithtong View Post
    Dear Tony,

    Thanks again for your quick help. Indeed your suggestion has solved my right categories box, it looks great when I browsed using Firefox but when I navigate the page via IE, the bottom banner still go to another line. Why is that so?

    Thank you so much and may God bless you always!
    When developing I usually make a separate stylesheet(s) for IE.

    So if you want to target IE6 only you would use this:

    <!--[if lt IE 7]><link rel="stylesheet" type="text/css" src="ie6.css" media="screen" /><![endif]-->

    And for IE7 use this:

    <!--[if lt IE 8]><link rel="stylesheet" type="text/css" src="ie6.css" media="screen" /><![endif]-->

    Legend:

    lt = less than
    gt = greater than

    Hope that makes sense to you?


  8. #8
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Dear Meshach,

    Thanks for your suggestion. I will create a separate css for IE, but how to make these 3 objects line on the same row? Any idea?

    Thank you and have a nice day!

  9. #9
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Re: Layout Customization

    Quote Originally Posted by faithtong View Post
    Dear Meshach,

    Thanks for your suggestion. I will create a separate css for IE, but how to make these 3 objects line on the same row? Any idea?

    Thank you and have a nice day!
    Try putting margin-left:50px; on the banner div. (In your IE only stylesheet).


  10. #10
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Hi,

    Thanks for your suggestion! I have already inserted the margin-left to this banner six. However, it still can't pull the banner to the same row with 2 of my images but just giving some space before the banner show in a new line.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. page layout customization contractors?
    By gbfaber in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Apr 2010, 06:10 PM
  2. Layout box customization..
    By nekosgrace in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Oct 2006, 01:43 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