Jump to content

[Solved] Page background-color doesnt change


Pedro R.

Recommended Posts

Hi!

Well after I was messing around with the footer as you can see at:

www.hobbysector.com

 

I am not able now to change the background-color of the page.

 

All I did was put another 'div' in the footer.tpl, being now like this:

{if !$content_only}

</div>

 

<!-- Right -->

<div id="right_column" class="column">

{$HOOK_RIGHT_COLUMN}

</div>

</div>

 

<!-- Footer -->

</div> <!-- I ADD THIS ONE -->

<div id="footer">{$HOOK_FOOTER}</div>

</div>

{/if}

</body>

</html>

 

 

What is the wrong thing I am doing?

I really appreciate your help.

Thanks.

Link to comment
Share on other sites

Hi!

I want to change the color of the section Page:

#page {

/*ORIGINAL width: 980px; */

width: 1010px;

margin: 0 auto 2px auto;

text-align: left;

background-color: red; <<<<<<<<<<<<<--- this is not taking effect

 

 

As I said before after I add the </div> in the footer.tpl as I show above the color of the body takes all the site.

If I remove the </div> it shows as the picture, but the footer shrinks.

Do you understand my problem?

How do I sort it out?

post-338305-0-10758400-1333017932_thumb.jpg

Link to comment
Share on other sites

This kinda sorted out.

I just added a new class in global.css:

#columns {

width:1010px;

float:left;

margin: 0 auto 2px auto;

padding:0px 0 0 0px;

background-color: white

}

 

 

And so the page zone gets the color defined here in the columns. Dont know if this is the most correct solution but it works for now.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...