StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 10-02-2012, 06:55 PM
gemini's Avatar
gemini gemini is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Location: Atlanta, GA
Posts: 263
Default How can I solve W3C errors?

Using Streamline child theme:


I did check the W3C Markup Validation Service on ip-192.com and get 2 errors.


Error Line 243, Column 6: end tag for element "div" which is not open
</div> <div id="footer-widgeted">
This Error belongs to an empty sidebar-bottom-left div, which is correct defined.


Error Line 280, Column 6: end tag for element "div" which is not open
</div>
<div id="sidebar-bottom-left">
</div>
This Error closes a widget_nav_menu.


I see unclosed </body> and </html> tags at the bottom of the page.


This problem happens at Streamline child home pages with different customizations.

Any hint how I can solve this would be very much appreciated.
__________________
www.ip-192.com
  #2  
Old 10-03-2012, 01:18 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

start by checking any text widgets you have. Those are the most likely place for bad HTML. What changes did you make to the home.php file?
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

  #3  
Old 10-03-2012, 01:46 PM
gemini's Avatar
gemini gemini is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Location: Atlanta, GA
Posts: 263
Default

Please see the content of the home.php below. I don't recall any changes on my end.
PHP Code:
<?php get_header(); ?>

<?php genesis_before_content_sidebar_wrap(); ?>
<div id="content-sidebar-wrap">

    <?php genesis_before_content(); ?>
    <div id="content" class="hfeed">
        
        <div id="homepage">
            <?php if (!dynamic_sidebar('Homepage')) : ?>
                <div class="widget">
                    <h4><?php _e("Homepage"'genesis'); ?></h4>
                    <div class="wrap">
                        <p><?php _e("This is a widgeted area which is called Homepage. It is using the Dynamic Content Gallery plugin and the Genesis - Featured Posts widget to display what you see on the Streamline child theme demo site. To get started, you'll need to download the plugin from the link given in the Streamline child theme's README file. Then log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag the Dynamic Content Gallery widget and the Genesis - Featured Posts widget into the Homepage widget area on the right hand side."'genesis'); ?></p>
                    </div><!-- end .wrap -->
                </div><!-- end .widget -->
            <?php endif; ?>
        </div><!-- end #homepage -->                    

    </div><!-- end #content -->
    <?php genesis_after_content(); ?>

</div><!-- end #content-sidebar-wrap -->
<?php genesis_after_content_sidebar_wrap(); ?>

<?php get_footer(); ?>
I did replace the DCG with the Smart Slideshow widget, but couldn't find bad code there.

The 4 footers are served by custom menus. I checked the the other widgets, but couldn't find any unclosed items.

I don't understand the unclosed </body> and </html> tags at the bottom of the page.
__________________
www.ip-192.com
  #4  
Old 10-03-2012, 02:21 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

what edits have you made?
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

  #5  
Old 10-03-2012, 02:22 PM
gemini's Avatar
gemini gemini is offline
Registered User
Genesis Member
 
Join Date: Jul 2009
Location: Atlanta, GA
Posts: 263
Default

none
__________________
www.ip-192.com
  #6  
Old 10-03-2012, 02:28 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

Then it has to be content, either in the post or via a text widget.
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

 

Tags
css, streamline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Solve Featured Content Gallery Problem davidhamilton General Discussion 8 01-20-2010 04:48 PM
changed post title - how to redirect ..or otherwise solve? speedmouse General Discussion 7 10-25-2009 11:24 AM


All times are GMT -5. The time now is 02:03 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.