WordPress.org

Ready to get started?Download WordPress

Forums

WP Columns
[resolved] WP Columns and twentytwelve (4 posts)

  1. rom4in
    Member
    Posted 1 year ago #

    Hi

    I've just installed the WP columns plugin.
    I have added the CSS to the stylesheet of my theme which is a child of twentytwelve. It does not work at all.

    I inspected the element with firebug : the tags and class are there but the styles are not present in the CSS. Strange!

    Any idea how to fix it ?

    Thanks!
    /Romain

    http://wordpress.org/extend/plugins/wp-columns/

  2. cogmios
    Member
    Posted 1 year ago #

    If they are not present in the CSS ... then its probably your cache.

    I just tested this plugin with some css code:

    .wpcolumn-clearfix {clear: both;}
    .wpcolumn-wrapper .wpcolumn {float: left;margin: 10px 4% 15px 0;width: 46%;}
    .wpcolumn-wrapper .wpcolumn-last {margin-right: 0;}

    and it works in my 3.5.1. twentytwelve-childtheme.

  3. rom4in
    Member
    Posted 1 year ago #

    I tried to change my CSS file in the child theme (it contains @import url("../twentytwelve/style.css");) for another class and it worked. That was to test a potential cache issue.

    The classes for wpcolumn are still not shown in firebug!
    I am a bit perplexed!

  4. rom4in
    Member
    Posted 1 year ago #

    I used your CSS code and it worked. Thanks!

    The problem was the code that is on the plugin page wp-columns :

    .wpcolumn-clearfix {
        clear: both;
    }
    .wpcolumn-wrapper-3 .wpcolumn {
        float: left;
        margin: 10px 4% 15px 0;
        width: 46%;
    }
    .wpcolumn-wrapper-3 .wpcolumn-last {
        margin-right: 0;
    }
    .wpcolumn-wrapper-3 .wpcolumn-1 {
        color:#888888;
        font-family:'Lucida Grande',Verdana,Arial,sans-serif;
        font-size:16px;
        float: none;
        width: auto;
    }

    It uses .wpcolumn-wrapper-3 instead of .wpcolumn-wrapper and .wpcolumn-1 is not floating (tsuijten, why?).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic