Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jan 2016
    Location
    Netherlands
    Posts
    150
    Plugin Contributions
    0

    Default CSS layer question

    Hi all,

    I am using an old version of my webstore to experiment with the design.

    I am using the following CSS code:

    html {
    background-image: url("../images/grotachtergrond.jpg");
    margin:0 15px;
    background-repeat: repeat;
    background-position: top ;
    height: 1600px ;
    }




    body {
    color:#9a9a9a;
    font: 12px arial, sans-serif;
    margin:0 15px;
    background-image: url("../images/bovenkantbody2.jpg");
    background-position: top ;
    background-repeat: no-repeat;
    height: 588px ;
    }


    /*wrappers - page or section containers*/
    #mainWrapper {
    background-image: url("../images/grotachtergrondwit.jpg");
    text-align: left;
    width: 910px;
    vertical-align: top;

    }

    Now the mainwrapper picture is above the body picture.
    http://www.merlins-cave.nl/oudecavestore/

    How can I place the body picture above the mainwrapper picture?

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,845
    Plugin Contributions
    11

    Default Re: CSS layer question

    i am not exactly sure what you are trying to do.

    the problem looks to be here:

    includes/templates/premium5b/css/stylesheet.css

    line 287

    #logotop has a height of 400px. reduce that to what you want and things look better.

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Jan 2015
    Posts
    493
    Plugin Contributions
    0

    Default Re: CSS layer question

    very simple. Just make these changes below

    Code:
     
    html {
        background-image: url(../images/grotachtergrond.jpg);
        margin: 0 15px;
        background-repeat: repeat;
        background-position: top;
        height: auto;
    
    }
    
    #logotop
        position: relative;
        height: 32px;    
        margin: 0;
        padding: 0;
        background:#000;  /* optional make what ever color you want */

  4. #4
    Join Date
    Jan 2016
    Location
    Netherlands
    Posts
    150
    Plugin Contributions
    0

    Default Re: CSS layer question

    Thank you :) :) I will try that tomorrow..

  5. #5
    Join Date
    Jan 2016
    Location
    Netherlands
    Posts
    150
    Plugin Contributions
    0

    Default Re: CSS layer question

    Quote Originally Posted by chadlly2003 View Post
    very simple. Just make these changes below

    Code:
     
    html {
        background-image: url(../images/grotachtergrond.jpg);
        margin: 0 15px;
        background-repeat: repeat;
        background-position: top;
        height: auto;
    
    }
    
    #logotop
        position: relative;
        height: 32px;    
        margin: 0;
        padding: 0;
        background:#000;  /* optional make what ever color you want */
    Hi Chaddly. I have tried this, but Unfortunatelly it only removed the body-image instead of placing the body-image in front (over the white block).

  6. #6
    Join Date
    Jan 2016
    Location
    Netherlands
    Posts
    150
    Plugin Contributions
    0

    Default Re: CSS layer question

    Right now the website looks like this:

    http://www.merlins-cave.nl/oudecavestore/

    There is a huge white block (#mainWrapper {) over the image of (body {)
    I want the image of (body {) being placed above the white block, so that it would look something like:

    Name:  merlinscavewebsitevoorbeeld.jpg
Views: 124
Size:  44.5 KB

    Do you think that this is possible?

  7. #7
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,845
    Plugin Contributions
    11

    Default Re: CSS layer question

    yes.

    in /oudecavestore/includes/templates/premium5b/css/stylesheet.css
    line 45

    remove the background image.

    adding that white image to the bottom part would be a little more configuring..

    best.
    author of square Webpay.
    mxWorks now has Apple Pay and Google Pay. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  8. #8
    Join Date
    May 2009
    Posts
    1,238
    Plugin Contributions
    2

    Default Re: CSS layer question

    To remove the top white image do as carlwhat suggested.

    To have it where you want find #

    #indexDefault {
    margin-top: 15px;
    }

    and change it to

    #indexDefault {
    margin-top: 0;
    background-image: url("../images/grotachtergrondwit.jpg");
    padding-top: 19px;
    }

    Recaping you should have these

    #mainWrapper {
    text-align: left;
    width: 910px;
    vertical-align: top;
    }
    #indexDefault {
    margin-top: 0;
    background-image: url("../images/grotachtergrondwit.jpg");
    padding-top: 19px;
    }

  9. #9
    Join Date
    Jan 2016
    Location
    Netherlands
    Posts
    150
    Plugin Contributions
    0

    Default Re: CSS layer question

    Dear Kenso,

    Thank you very much for you coding. Unfortunatelly with the coding, only the main index page became white, but I wanted the mainwrapper to be white, not only at the front page, but at every productpage. But unfortunatelly the mainwrapper starts at the top of the page, over the merlin-picture. So I was hoping that there is a way to place the background-image: url("../images/bovenkantbody2.jpg"); over the mainwrapper at the top..

  10. #10
    Join Date
    May 2009
    Posts
    1,238
    Plugin Contributions
    2

    Default Re: CSS layer question

    Sorry I had not understood.

    Try this please:

    #contentMainWrapper {
    margin: 0;
    background-image: url("../images/grotachtergrondwit.jpg");
    }

    You would need to change your text color.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 CSS Chalenge: How to bring image layer to the front
    By Feznizzle in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Nov 2012, 08:21 PM
  2. Secure Sockets Layer (SSL), css over looking
    By poolprorich in forum General Questions
    Replies: 2
    Last Post: 27 Oct 2007, 12:45 AM
  3. I'm not sure if this is a CSS question or an admin panel question....
    By kinget in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Mar 2007, 08:29 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