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
Solved

wordpress - how to I add a nice curve to my page

Posted on 2013-06-05
10
332 Views
Last Modified: 2013-06-05
Hi experts,

I have just finished my website www.freedomfighterclub.org. and had an issue with 2 white sidebars on the side of my homepage.

I was advised by a member of EE to add the code below to remove. This worked perfectly but now I cannot add a curve to my homepage page. My theme does have the function but it doesnt seem to function since the code below was added to my custom.css.

Is there any way I can add the curve in directly from one of the editor sheets. Please advise.  

#wrap { padding: 0!important; }
0
Comment
Question by:gpersand
  • 4
  • 3
  • 3
10 Comments
 
LVL 4

Expert Comment

by:Ahmed Hussein
ID: 39221324
Change #wrap padding to:

padding: 10px 0px 20px;

Open in new window


and remove:

#wrap { padding: 0!important; }

Open in new window


it should work perfectly.

~AG
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39221326
Well.. Please specify what curve are you talking about...

if you are talking about the border curves then add...

border-radius: 10px;

Open in new window

0
 

Author Comment

by:gpersand
ID: 39221334
I just did the above and its the same as before (not right).

Please take a look at my website again and you will see the white border around my main page. www.freedomfighterclub.org

I think it would be ok if the white border was BLACK.

Is there any way to change the colour?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 4

Expert Comment

by:Ahmed Hussein
ID: 39221335
this is not a border, it's your page, but it has a padding, which makes it look just like a border.
0
 

Author Comment

by:gpersand
ID: 39221341
Can I change the padding colour to black?
0
 
LVL 4

Expert Comment

by:Ahmed Hussein
ID: 39221343
nope, it doesn't work that way, tell me exactly what you want to do, to make it easier.
0
 
LVL 10

Accepted Solution

by:
Ishaan Rawat earned 500 total points
ID: 39221354
GOT IT>>>>>>

Modify your #wrap css to...

#wrap {
border-radius: 20px;
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
box-shadow: 0px 1px 3px rgba(0,0,0,.2);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.2);
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.2);
margin: 30px auto;
border-left: 20px solid black;
border-right: 20px solid black;
border-bottom: 20px solid black;
}

Open in new window


This will help you get what you want...
0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39221359
and also add...
in the end of your stylesheet

 .entry {
border: 0px !important;
}

Open in new window

0
 
LVL 10

Expert Comment

by:Ishaan Rawat
ID: 39221388
Now you might be having a border on the top...

This is because of the h1.page-title now if you remove that it will be removed from every single page with h1.page-title...

But if you want that to be removed.. then add this to your stylesheet....

h1.page-title {
border-bottom: 0px !important;
}

Open in new window

0
 

Author Comment

by:gpersand
ID: 39221408
Hey friend this worked perfectly. Thank you soo much@!!!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…

839 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