Solved

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

Posted on 2014-01-30
4
420 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
If-Then-Else ASP problem 6 60
Website Interactive tool that will do calculations 3 54
Not seen Link button 5 39
CSS: Making responsive table look nicer 7 26
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.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
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.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

778 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