Together4Business Posted November 9, 2014 Share Posted November 9, 2014 Hi, Hello I am building a website.I publish it under: beta.together4business.nl Now creates the code below a framework behind the text. But I do not want this on the homepage, but only on the rest of the pages. How do I change this ? /* Main Content --------------------------------------------------------------------------------*/ #main-wrap .container { min-height:400px; background: rgba(255, 255, 255, 0.7); padding: 40px 70px 70px 70px; width: 830px; } #main-wrap .paragraph ul, #main-wrap .paragraph ol { margin: 0 !important; } #main-wrap .paragraph li { list-style: none; background: url(bullets.png) no-repeat left 8px; padding-left: 15px !important; } The next code creates the page lay-out: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> </head> <body class='no-header-page wsite-background wsite-theme-light'> <div id="top-wrap"> <div id="header-wrap"> <div class="container"> <table id="header"> <tr> <td class="phone-number">{phone:text}</td> <td id="header-right"> <table> <tr> <td class="social">{social}</td> <td class="search">{search}</td> </tr> </table> </td> </tr> </table> </div><!-- end container --> </div><!-- end header-wrap --> <div id="nav-wrap"> <div class="container"> <table> <tr> <td id="logo">{logo}</td> <td id="nav">{menu}</td> </tr> </table> </div><!-- end container --> </div><!-- end nav-wrap --> <div id="banner-wrap"> <div class="container"> <div id="banner"> <div class="wsite-header"></div> <div style="clear:both;"></div> </div><!-- end banner --> </div><!-- end container --> </div><!-- end banner-wrap --> </div> <div id="main-wrap"> <div id="container-top"></div> <div class="container"> {content} </div><!-- end container --> <div id="container-bottom"></div> </div><!-- end main-wrap --> <div id="footer-wrap"> <div class="container"> {footer} </div><!-- end container --> </div><!-- end footer-wrap --> </body> </html> Could someone please help me? Kind regards. Link to comment Share on other sites More sharing options...
niche Posted November 9, 2014 Share Posted November 9, 2014 (edited) Frameworks are packaged deals unless you know how to code. Learn how to code by getting started here. http://www.w3schools.com/html/default.asp Else, you're stuck with the flexibility build into the framework Edited November 9, 2014 by niche Link to comment Share on other sites More sharing options...
Together4Business Posted November 9, 2014 Author Share Posted November 9, 2014 I think it is not a real framework it's more like a background. Could you maybe check the publisht link to see what i mean..? Thanks for your response Link to comment Share on other sites More sharing options...
Together4Business Posted November 9, 2014 Author Share Posted November 9, 2014 PS the "framework" is good i only want that it is invisible. If i change the background color i can make it "invisible" Link to comment Share on other sites More sharing options...
Ingolme Posted November 9, 2014 Share Posted November 9, 2014 What you can do is give your <body> element an ID on the home page <body id="home"> Then you can use that as a selector to hide the element: #home .className { /* Hide elements with class "className" */ display: none;} Link to comment Share on other sites More sharing options...
Together4Business Posted November 9, 2014 Author Share Posted November 9, 2014 What you can do is give your <body> element an ID on the home page <body id="home"> Then you can use that as a selector to hide the element: #home .className { /* Hide elements with class "className" */ display: none;} Where do I have to put it in the main-style.css or the page lay-out html? Link to comment Share on other sites More sharing options...
Together4Business Posted November 9, 2014 Author Share Posted November 9, 2014 I allready fixed it thanks for your support Kind regards. Link to comment Share on other sites More sharing options...
niche Posted November 9, 2014 Share Posted November 9, 2014 http://www.w3schools.com/css/css_selectors.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now