Community Forums › Forums › Archived Forums › Design Tips and Tricks › Getting Rid Of A Grey Border
- This topic has 12 replies, 3 voices, and was last updated 12 years, 1 month ago by
Jesse.
-
AuthorPosts
-
March 8, 2013 at 6:25 pm #25088
Jesse
MemberOn my individual blog posts there is a grey border surrounding my subscribe box at the bottom of each post.
This can be seen here: http://drjessechappus.com/7-healthy-ways-to-increase-your-energy/
I have the code for the sub box in a widget in "after post"
I'm using the Prose child with Genesis.
I've went through all the design settings of this child theme and can't seem to find a way to remove the grey border. Any ideas??
Thanks!
March 8, 2013 at 6:42 pm #25094Brad Dalton
ParticipantYou mean the grey background?
Line 861 of your child themes style.css file shows this:
.after-post { background: #f5f5f5; clear: both; margin: 0 0 10px; overflow: hidden; padding: 10px; }
Change the background properties value to white or #fff or transparent.
All code changes should be done in the themes special custom CSS code box otherwise they will be overwritten if you update the child theme.
March 8, 2013 at 6:44 pm #25095WMcKinley
MemberHi,
Using Firebug I see where the grey background is coming from in the.after-post {
background: none repeat scroll 0 0 #F5F5F5;
clear: both;
margin: 0 0 10px;
overflow: hidden;
padding: 10px;If you can find that in your style sheet you can change the color to #FFFFFF and it will be white
W. McKinley – PowerEmini.com
March 8, 2013 at 6:46 pm #25096Jesse
MemberThanks Brad!
Are you talking about the grey border surrounding the blue subscribe box. This is what I'm trying to remove.
Where is this special custom CSS code box? I always edit in the editor under appearance.
March 8, 2013 at 6:52 pm #25099Jesse
MemberI tried that investing systems and it stayed the same.
I didn't see this in the code like you mentioned though... none repeat scroll 0 0
Any other ideas?
Thanks!
March 8, 2013 at 6:55 pm #25100Brad Dalton
ParticipantProse is a bit different and includes a special box for Custom code where all the modification should be made.
Don't see any grey border only a light grey background.
There's a blue border: border: 2px solid #91C1DF !important;
element.style { background: -moz-linear-gradient(center top , #CDE4F2 0%, #CDE4F2 100%) repeat scroll 0 0 transparent !important; border: 2px solid #91C1DF !important; border-radius: 0 0 0 0 !important; font-family: 'Georgia',Helvetica,Arial,sans-serif !important; width: 99% !important; }
March 8, 2013 at 6:59 pm #25104Jesse
MemberThanks Brad!
The blue border is supposed to be there... I think they light grey background is what I'm calling the border. So we're on the same page now.
Where is this box for custom code in my theme?
And I did try changing that code you mentioned in your first post to #FFFFFF and nothing changed. What exactly do I need to put in there to make it white?
March 8, 2013 at 7:07 pm #25107Brad Dalton
ParticipantGenesis > Custom Code > Custom CSS
Throw this code in there and hit the save button:
.after-post { background: #fff; clear: both; margin: 0 0 10px; overflow: hidden; padding: 10px; }
March 8, 2013 at 7:12 pm #25108Jesse
MemberI got it, thanks!
So to make the .css change you recommended do I put all those lines in that custom code box and leave the code in the editor alone?
Does the code in the custom code box override the editor?
March 8, 2013 at 7:17 pm #25110Brad Dalton
ParticipantMarch 8, 2013 at 7:22 pm #25111Jesse
MemberWell thank you for all your help! It worked!
And now I know a little more about my child theme.
One last thing if you don't mind... When you are on my homepage and hover over the drop menu "FOR THE PATIENT" the bottom part of it gets hidden behind the YouTube video. Any ideas how I can keep that above?
Thanks!
March 8, 2013 at 7:25 pm #25113Brad Dalton
ParticipantMarch 8, 2013 at 7:28 pm #25114Jesse
MemberThanks for looking into it Brad!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.