SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Div Tag CSS

  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Div Tag CSS

    Hello,

    How can I change the dimensions for the div.cmsms_product_left_column?

    I have searched for it everywhere but can't find the file that has it.

    Here is the direct link to the page:

    http://www.armitageproduce.com/produ...re-honey-comb/

    Here are the screenshots:

    zECK4Qb.png

    div2.jpg

  2. #2
    Life is not a malfunction gold trophysilver trophybronze trophy
    TechnoBear's Avatar
    Join Date
    Jun 2011
    Location
    Argyll, Scotland
    Posts
    6,184
    Mentioned
    264 Post(s)
    Tagged
    5 Thread(s)
    .cmsms_product_left_column, .cmsms_product_right_column {
    box-sizing: border-box;
    float: left;
    overflow: hidden;
    position: relative;
    width: 50.88%;
    }

    is in cmsms-woocommerces-style.css (Line 507, according to Firebug.)

  3. #3
    SitePoint Enthusiast
    Join Date
    Feb 2012
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I see that it has the settings for the width but not the height, so do I just add height in there? I am not sure how it determines it now without.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    The apparent height is set by the padding at line 131 of style.css:

    Code:
    .preloader, .preloader_removed {
    background: url(img/loader.gif) 50% 50% no-repeat;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 58.2%;
    position: relative;
    }


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •