Genesis Widget Featured Amplified and CSS

Community Forums Forums General Discussion Genesis Widget Featured Amplified and CSS

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Gary Jones 2 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #60891


    I am using several instances of GWFA on my home page, and would like to customize one using the CSS. What I did was I used Instance Identification Field (twocolumn) on GWFA to mark the GWFA that I need to customize with CSS. Next, I added the following code to the functions.php

    add_action(‘gfwa_before_post_content’, ‘ilyaz_gwfa_content_wrap’);
    function ilyaz_gwfa_content_wrap($instance) {
    if ( $instance[‘custom_field’] == ‘twocolumn’)
    echo ‘<div class=”post-wrap-ilya”>';

    add_action(‘gfwa_after_post_content’, ‘ilyaz_gwfa_close_content_wrap’);
    function ilyaz_gwfa_close_content_wrap($instance) {
    if ( $instance[‘custom_field’] == ‘twocolumn’)
    echo ‘</div> <!– end .post-wrap-ilya –>';

    But for some reason, I can not get the each of the items in the GWFA to float freely next to each other, like columns. I played with different hooks to get this to work but, can not. My CSS is only
    .post-wrap-ilya {
    float: left;
    width: 45%;
    I am using the NEWS child theme. and the page is at

    Thank you!

    Gary Jones

    This looks solved?

    Changes in Genesis 2.1 – the ultimate guide to every single change in Genesis Framework 2.1, 2.1.1 and 2.1.2 (all 90 of them!) | @GaryJ

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

You must be logged in to reply to this topic.