Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Possible mods to Thematic « ThemeShaper Forums

ThemeShaper Forums » Development Talk

[closed]

Possible mods to Thematic

(3 posts)
  • Started 3 years ago by ScottNix
  • Latest reply from middlesister

  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    ScottNix

    Member

    Maybe it is just me, but there are things I end up doing on every single Thematic install.

    What would be a negative to adding a clearfix code/class to Thematic instead of using the overflow trick for float collapse?

    I end up always applying a clearfix to at least the main div (usually because repeating background). This is most easily done by adding a class with jQuery.

    // add micro clearfix classes
    jQuery("#subsidiary, #main").addClass('cf');
    /* For modern browsers */
    .cf:before, .cf:after { content:""; display:table; }
    .cf:after { clear:both; }
    /* For IE 6/7 (trigger hasLayout) */
    .cf { zoom:1; }

    So the jQuery solution works fine... Although, why can you modify the #wrapper, but not the #header or #main.

    The wrapper is coded

    if (apply_filters('thematic_open_wrapper', true)) {
    echo ('<div id="wrapper" class="hfeed">' . "\n");
    }

    And is modifiable like so.

    function childtheme_open_wrapper() {
    	echo '<div class="wrap shit">';
    }
    add_filter ('thematic_open_wrapper', 'childtheme_open_wrapper');

    Why can't #header/#main and some of the other hard coded divs be the same as the wrapper? I ask because it might be possible that someone might not want or care about divs clearning floats, I can't really think of a reason...

    Posted 3 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    i'd love to see the classes on a lot of items be filterable. lots of layout possibilities would open up.. you could pretty much switch to any CSS layout framework imaginable

    <div id="header" class="<?php echo apply_filters('thematic_header_class','full-width');?>">
    Posted 3 years ago #
  3. middlesister
    Member

    +1 for filterable div's. Apart from CSS frameworks (like using conditionals to get tailored grid column css classes) it would also make it possible to switch to html5 <header> and <footer> elements.

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183