Adding extra containers
-
I am using the confit theme, and I want to add containers on the side and top of the main atricle content. What would be the best way to do this? I am brand new to css, and any tips would be welcomed.
the link to the blog I’m editing is: http://rackemupblog.com/
Thanks so much!
The blog I need help with is: (visible only to logged in users)
-
Hi,
I’m not quite sure what you mean with ‘containers’. Do you mean to visually add a sort of block with different bg color outside of the main article area?
If you can show an example of what you want to achieve, that would help as well.
-
Yeah, that’s what I mean. still trying to learn the right terms.
(what would be the best way to show it? i can’t see where to add an image. I made a concept from a screenshot.)
-
-
-
Hi there :) first you should read this note about advertising:
http://support.wordpress.com/advertising/Next, I have worked on a similar question about sidebars and Confit in the past. You should start with this example:
https://en.forums.wordpress.com/topic/adding-additional-sidebars-in-confit?replies=7#post-1250140Then adjust the “top” and “right” values to move the sidebar around on your site until it looks good to you.
Since you’re using a photo for the background, you’ll probably want to set that whole “#secondary” sidebar background to black and add a little padding at the top. Try adding these to the #secondary block:
background: #000 !important; padding-top: 1em; -
Thanks for the help so far, its working Pretty well. I just want to try to get the content from the left to the right. I’ve messed around with the example of the twitter widget, but I’m probably doing it wrong because it’s just making the “twitter-widget-0” disappear instead of putting it into the right sidebar.
Any way I can get all of the stuff from the right sidebar into the Left one so that I can put my WordAds there? -
Also, I would like to add some transparency to #secondary to match the other elements on the page.
-
Hi, Since you have set the sidebar (#secondary) to position absolute, it restrains the widgets to that div. If a parent div has a position declaration (relative, fixed, absolute) then the element divs inside of that will position in relationship to the boundaries of the parent.
Short version, with #secondary having been moved to the right of the content using position: abosolute, you cannot move the widgets out of it.
-
-
You can add transparency by specifying the color in rgb with alpha instead of hex. Change the background declaration on #secondary to the following:
background: rgba(0, 0, 0, 0.7) !important;The first three number represent the red, green and blue values (in this case 0 for all three (black)). The last number, 0.7 is the opacity. The closer to 1, the more opaque. The closer to zero (0) the more transparent.
- The topic ‘Adding extra containers’ is closed to new replies.