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
Where is the div wrapper locted? « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Where is the div wrapper locted?

(5 posts)
  • Started 3 years ago by howdave
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. howdave
    Member

    I want to wrap everything in a div smaller then wrapper. Where is the div wrapper? I cant find it anywhere in the theme. Where ever it is I am assuming I will simply be able to add a new div underneath it.

    Thanks

    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
    ScottNix

    Member

    Ok, first of all make sure you are using Firebug. Just had to get that out of the way.

    With that tool you will be able to see that the wrapper spans everything between the body tags (all content).

    Currently with a default Thematic setup, there are no styles applied to the #wrapper, you will not find it in the CSS. You won't need to wrap the wrapper because it is completely available to use to set a smaller width, although you will still have to modify the widths of the internal divs, so it sounds like you would be doing more work for no reason. Maybe some clarity would help if this doesn't answer your question.

    Posted 3 years ago #
  3. howdave
    Member

    Hi ScottNix,

    Thanks, I am using firebug, the reason I can not use the wrapper div for what I want is because I am using it my style to set the background.

    Is this not the usual way to set a background?

    Setting the background with the wrapper div changed the colour of my header, body and footer div (and a few others I have added) so I had to go into those div and change their background colours one by one. Just seemed like an ineffective way of doing it, if they were all wrapper in a div then I would only need to change one background colour setting.

    Posted 3 years ago #

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

    This will add a div inside the wrapper, I think there is even a shorter way, but this works.

    // add another wrapper, opening
    function snix_quick_div_top() { ?>
        <div id="#gangster-wrapper">
    <?php }
    add_action('thematic_aboveheader','snix_quick_div_top');
    
    // add another wrappers, closing
    function snix_quick_div_bottom() { ?>
        </div><!-- #gangster-wrapper -->
    <?php }
    add_action('thematic_belowfooter','snix_quick_div_bottom');

    Also if it is possible, you can use the .body tag for backgrounds, but I will assume you know that. ;P

    Posted 3 years ago #

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

    Setting the background with the wrapper div changed the colour of my header, body and footer div (and a few others I have added) so I had to go into those div and change their background colours one by one.

    well header, footer and main, etc. don't have a background color. they are transparent, so you'll be able to see through them to the color you've put on wraper. and b/c wrapper has no width it will cover everything covered by the body tag.

    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