Community Forums › Forums › Archived Forums › Design Tips and Tricks › Education Theme Has Extra Text Widget
- This topic has 5 replies, 2 voices, and was last updated 10 years, 8 months ago by sharingsunshine.
-
AuthorPosts
-
March 3, 2014 at 2:04 pm #93255sharingsunshineMember
I have a problem with an extra widget showing up. I have removed the text widget and it goes back to showing the primary sidebar box. When I put it back the extra outline of a box shows up. You can see it at the top of the text box. I checked with W3C and it validates as XHTML transitional.
I can't find what is causing the extra box look but it makes it look like there are two search boxes when I have the search box enabled and I have double checked there is only one search and one text box. Right now only one text box is in the primary sidebar widget area.
You can see it by looking at the top of the primary sidebar section.
Please help me to figure out what the problem is.
Thanks,
Randal
http://www.thefrugallife.com/wordpress/March 3, 2014 at 6:14 pm #93289Ben SiegfriedMemberAre you talking about the gray background and borders around NATURE'S SUNSHINE?
If so, you can remove those styles by targeting that widget by its ID. It is id="text-3"
background-color: #fff;
border-bottom: 0px solid #fff;
border-top: 0px solid #fff;
That may be a quick fix, but not really the fix you're looking for. It's hard to know what you're seeing back there in the Widgets area. To me, it looks like you have a text widget installed there and that you need to remove it.
NATURE'S SUNSHINE has a .class with the following CSS:
.tfl_head_css {
font-weight: bold;
text-align: center;
background-color: #636;
font-family: Arial,Helvetica,sans-serif;
font-style: normal;
color: #FF6;
height: 15px;
width: 195px;
margin-left: 11px;
padding-bottom: 0.25em;
padding-top: 0.5em;
border-color: #FF6;
border-width: 7px;
border-style: double;
font-size: 12px;
margin-top: 50px;
}
I added margin-top of 50px. Maybe this will all help you see what is going on?
Other than that you will need to provide more information.
March 4, 2014 at 8:55 am #93377sharingsunshineMemberThanks for getting back to me. Yes, I do want to find the actual problem and remove it completely. Here is the code in the text box.
Actually, I have tried numerous ways to add the code
tags and pressing the code button above but after 10 attempts I need someone to give me some direction.
I have removed all of the text from the text box, saved it and then refreshed the browser and it still shows the extra box. I have tried to respond to this post numerous times so there must be something wrong with how I putting the code in and using the code tags. So please forgive me they aren't put in properly.
Please tell me how to find this extra text-widget. Or, if I need to supply more information please tell me what I need to provide.
Thanks,
Randal
March 4, 2014 at 1:23 pm #93409sharingsunshineMemberdecided to try the gist method of including the code
March 4, 2014 at 3:42 pm #93424sharingsunshineMemberI have removed the extra box by going back to the original functions.php file before I added the custom.css and the extra color.
Here is the code I changed. The color I added was Maroon. Can anyone see anything wrong with this code?
/** Create additional color style options */ add_theme_support( 'genesis-style-selector', array( 'education-black' => __( 'Black' , 'education' ), 'education-green' => __( 'Green' , 'education' ), 'education-purple' => __( 'Purple' , 'education' ), 'education-red' => __( 'Red' , 'education' ), 'education-teal' => __( 'Teal' , 'education' ), 'education-maroon' => __( 'Maroon' , 'education' ) ) );
and for the custom.css I read it was best to add it as the last thing
genesis_register_sidebar( array( 'id' => 'featured', 'name' => __( 'Featured', 'education' ), 'description' => __( 'This is the featured section displayed below the intro.', 'education' ), ) ); genesis_register_sidebar( array( 'id' => 'call-to-action', 'name' => __( 'Call To Action', 'education' ), 'description' => __( 'This is the call to action banner.', 'education' ), ) ); function custom_style_sheet() { wp_enqueue_style( 'custom-styling', get_stylesheet_directory_uri() . '/custom.css' ); } add_action('wp_enqueue_scripts', 'custom_style_sheet');
Thanks,
Randal
March 4, 2014 at 7:29 pm #93452sharingsunshineMemberWhen I add back in the custom stylesheet I added the box outline comes back. So I will just have to troubleshoot the stylesheet to find the problem. Really nothing I can expect from anyone else so I am considering this solved.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.