Three Columns Sizing

This topic contains 8 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #247014

    Jimmy Ryan
    Expired Member
    Post count: 202

    I want to add three images in three mobile responsive columns at the bottom of the body on the Supreme Theme home page. I turn to page.php and find the appropriate place to embed the php coding to house three images side by side with a little css.

    Three issues:
    1. Is this the best way to create a three-column, mobile responsive, image display?
    2. What is the maximum width to evenly divide the full width three ways with 40px margin separating each of those three images?
    3. Any better ideas how-best to nest three images in a mobile responsive environment in a three column full width format?

    Here is the way I did it:

    <div style=”clear: both;”></div>
    <div id=”bannercontainer”>
    <div id=”bannerbox”><?php echo do_shortcode(“[pro_ad_display_adzone id=164]”); ?></div><div id=”bannerbox”><?php echo do_shortcode(“[pro_ad_display_adzone id=164]”); ?></div><div id=”bannerbox”><?php echo do_shortcode(“[pro_ad_display_adzone id=164]”); ?></div>
    </div>
    <div style=”clear: both;”></div>

    #bannercontainer {
    text-align: center;
    width: 99%;
    align: center;
    clear: left;
    }

    #bannerbox {
    width: 31%;
    height: auto;
    margin: 5px;
    float:left;
    }

    #247245

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Have u got a link so we can have a look?

    Stiofan

    #247254

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #247258

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jimmy,

    If it were me i would just go to GD>Design>home>Home bottom section>enable
    They you can add any widgets there, even a text widget and you don’t have to edit the templates.

    Thanks,

    Stiofan

    #247292

    Jimmy Ryan
    Expired Member
    Post count: 202

    I turned that home bottom section on weeks ago but I was uncertain why? Thanks for explaining why that home bottom choice is there. Yes, genius solution to use widgets thanks.

    #247335

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #247827

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    maybe you should make your own widget?

    #247985

    Jimmy Ryan
    Expired Member
    Post count: 202
    This reply has been marked as private.
    #248259

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It should work for the homepage.

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket