• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

How do I increase the top and bottom padding and change the background?

I have a site here:

http://rentawebguy.net/move2perform/faq

and I need to make the answers to the faq have more space above and below the answer and to change the background to a light yellow similar to the attached image.

Any help would be most appreciated.
ss.png
0
Donnie Walker
Asked:
Donnie Walker
1 Solution
 
xDUCKxCommented:
you can modify your CSS so the padding at the top is set to what you need it to be:

http://www.w3schools.com/css/css_padding.asp

Without being able to see your code, I'm not sure where to put the padding info (there could be multiple CSS files).

Here's the CSS for background colors:

http://www.w3schools.com/css/css_background.asp
0
 
Julian HansenCommented:
1. On your containing div remove the overflow: hidden and the height: 32px;
2. Createa style for your <td> elements that contain the answer add the following style

{
   background: #ffffaa;
   padding: 15px 10px;
}

The height of the expanded panel seems to be set by the jpan-slider - so you might not have to remove the height / overflow: hidden;
0
 
Chris StanyonCommented:
Add this to your stylesheet.

.contentpaneopen td {
    background-color: #FFF38C;
    padding: 30px;
}

Open in new window

0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Donnie WalkerAuthor Commented:
That is very close Chris. There is still some sort of padding or margin on the outside of the contentpaneopen element.
0
 
Donnie WalkerAuthor Commented:
Thanks!
0
 
Chris StanyonCommented:
The padding (10px) is added from your panel.css file (line 6):

.pane-sliders .moofaq-content { padding:10px; }

Change it or remove it to alter the left and right padding.
0
 
Donnie WalkerAuthor Commented:
thanks again!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now