Grow your CSS skills. Land your dream job.

Bonus points for being a ‘Padding-Margin Crusher-Ninja”

  • # April 18, 2013 at 3:51 pm

    Thanks again ChrisP, I’m hesitant to do anything with the functions.php on this one, not entirely understanding the overall results.
    Attempting the hack-y CSS still no love. :(

    # April 25, 2013 at 1:00 pm

    This problem reared it’s ugly head on another project… found a fix this time via a Functions file php body blow to the mid-section:http://www.simonbattersby.com/blog/2011/02/wordpress-wrapping-shortcodes-with-p-tags/

    Setting up Post Snippets for Grid Columns in the venerable Skelton Theme from simplethemes, and this worked a charm!

    function simonbattersby_shortcode_format($content){
    $content = preg_replace(‘/(

    )s*(

    $content = preg_replace(‘/()s*(

    )/’, ‘‘, $content);
    return $content;
    }

    add_filter(‘the_content’,’simonbattersby_shortcode_format’,11);

    # April 25, 2013 at 1:06 pm

    Wait a minute, now I’m getting break tags instead of the p opening tag, and a break for the P closing tag. :(
    So I’m still rattling on here… :(

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".