Solved

How to deal with header and blur background on my website?

Posted on 2014-01-30
4
408 Views
Last Modified: 2014-01-30
Hi,

3 questions for you! :)
I'm a newbie in building my own website <http://www.juraglo.com/>. It's a Canvas Theme on Wordpress. The HTML and CSS have been already slightly customized by a friend on a child theme.

1. I'm struggling with header: I want to put it outside the body of the content when I box-layer the content.

2. I also need the primary navigation to be outside "the box."

3. About the background color of the "box," I want it to be blurry. I found a CSS code

.wrapper {
  background-color: url(images/bg-blurry.jpg) no-repeat fixed !important;
}

online but I don't understand what suppose to be this <url(images/bg-blurry.jpg)>? The code doesn't work on the custom CSS.

Any suggestions beside the one that I should go back to a friend to finish customizing? :D
0
Comment
Question by:Lempute
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39821217
Honestly, go back to your friend. Unless you have a good understanding of HTML, CSS, and some PHP along with knowledge of how WordPress expects a theme to be constructed you are not going to have a pleasant experience.

For 1 and 2, you need to modify the theme to move elements around.  Most of this will be in header.php

For 3, that CSS code requires an image to use as the background. The code just calls the image, it doesn't magically make stuff blurry.
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 39821506
When you say you want the background blurry, do you mean that you want the off-white background to be semi-transparent? If so, you could make this change (in bold):

#wrapper {padding-left:30px; padding-right:30px;background-color:rgba(240, 241, 245, 0.7);margin-top:20px;margin-bottom:20px;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;border-left:1px solid #dbdbdb;border-right:1px solid #dbdbdb;border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;box-shadow: 0px 1px 5px rgba(0,0,0,.3);-moz-box-shadow: 0px 1px 5px rgba(0,0,0,.3);-webkit-box-shadow: 0px 1px 5px rgba(0,0,0,.3);}

When you say you want the header and navigation outside the box, do you mean it should be in a separate box above the main content box?
0
 
LVL 38

Expert Comment

by:Tom Beck
ID: 39821599
Try this:

Temporarily comment everything out that you have for #wrapper by enclosing it in comment delineators, /*#wrapper {...*/

Then add this definition for #content:

#content {
    padding: 40px;
    background-color: rgba(240, 241, 245, 0.7);
    border-radius: 5px;
}

This will put only the content in a semi-transparent off-white box with rounded corners. The header and navigation will be floating above it on the page background. Footer will be outside the content box as well.
0
 

Author Closing Comment

by:Lempute
ID: 39821740
Genius, you are Genius! :D
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now