Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Background outside content


  #1  
Old Jan 26, 2013, 02:59 AM
arteny
 
22 posts · Nov 2012
Russia, Voronezh
Is there a possibility for Montezuma to show specified background only left and right from content (don't touch a central part with content)?

Last edited by juggledad; Jan 26, 2013 at 04:45 AM. Reason: thread name explanation
  #2  
Old Jan 26, 2013, 05:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
you will have to set the color or image for the body, then set a color for each area it shows thru.

think of a page as a bunch of transparency sheets. The body is the first to be layed down so you color it blue. Then you lay on top of that the next sheet - the 'main' area - but since it is transparent, the blue shows thru. You need to add a background color of, say white, to that area in the CSS.

So use a code examiner to look at the page and find all those areas that you need to have a solid color so the 'body' color/image won't show thru. This is the nature of CSS and wanting to change the defaults of a theme - yu get to play and learn
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jan 26, 2013, 07:32 AM
jerryc
 
367 posts · Oct 2012
Florida
Quote:
Originally Posted by arteny
Is there a possibility for Montezuma to show specified background only left and right from content (don't touch a central part with content)?
Piece of cake. Inside a colored div, put another one. Put wide side margins and no top or bottom margin on the inner one, such as:

HTML Code:
<div style="background:orange">
<div style="background:white; margin:0 1em;">
[content here]
</div>
</div>
This example will give you a white content area, and orange side margins 1em wide. This post may help, too.

Bookmarks

Tags
background

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
background color for the border area OUTSIDE the page/blog content area johnh44 Center area post/pages 3 May 4, 2011 02:27 PM
Background image in the main body content area tim55057 Center area post/pages 3 Apr 14, 2011 03:59 PM
[SOLVED] How do I keep the background out of the content area? eDee Header configuration & styling 2 Mar 20, 2011 07:08 AM
Three specific customization questions (menu bar, page content, background) Shane Header configuration & styling 1 Oct 13, 2009 05:24 AM
[SOLVED] How to change Post Content (Body) background color darmanpurba@gmail.com Forum How-To 6 Aug 10, 2009 05:34 AM


All times are GMT -6. The time now is 08:06 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.