Education Theme Has Extra Text Widget

Community Forums Forums Design Tips and Tricks Education Theme Has Extra Text Widget

This topic is: resolved

Tagged: ,

This topic contains 5 replies, has 2 voices, and was last updated by  sharingsunshine 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #93255

    sharingsunshine
    Member
    Post count: 10

    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/
    #93289

    benjeeno
    Participant
    Post count: 248

    Are 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.

    #93377

    sharingsunshine
    Member
    Post count: 10

    Thanks 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 [html] [/html] 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

    #93409

    sharingsunshine
    Member
    Post count: 10

    decided to try the gist method of including the code

    #93424

    sharingsunshine
    Member
    Post count: 10

    I 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?

    [php]/** 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’ )
    ) );[/php]

    and for the custom.css I read it was best to add it as the last thing

    [php]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’);[/php]

    Thanks,

    Randal

    #93452

    sharingsunshine
    Member
    Post count: 10

    When 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.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.