Solved

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

Posted on 2014-01-30
4
429 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.NET(C#) Eliminating weekends from a date range 2 54
Button to go back 3 39
help thx 6 20
Word Press Fixes to Google Speed Test Issues 2 19
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

740 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