• Resolved Zion Eye Media

    (@onefunkybluesman)


    Is it possible to include background images and/or colors for the columns (or perhaps other forms of styling)?

    I’m thinking of something like this from a shortcode perspective (bolded). I have something similar to a button shortcode, but don’t want to break your column codes (which are great, btw). The bolded styling is using css to color the background.

    [one_third <strong>bgcolor="red"</strong>]
    content
    [/one_third]

    Thanks!
    David

    http://wordpress.org/extend/plugins/column-shortcodes/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias Schutter

    (@tschutter)

    I am trying to avoid the use of seperate styling attributes inside the shortcode. I think it’s best to leave styling to your CSS stylesheet. I might consider adding custom classes to the column shortcodes, but I don’t want to get an over complicated UI with lots of attributes ( like bgcolor, strong, italic etc. )

    Perhaps something like this:

    [one_third class="red"][/one_third]

    Then al you would need to do is add the background styling to your stylesheet.

    .red {
    background-color: red;
    }
    Thread Starter Zion Eye Media

    (@onefunkybluesman)

    Thanks, Tobias. Exactly what I need 🙂 You rock bro, keep up the awesome work.

    Thread Starter Zion Eye Media

    (@onefunkybluesman)

    Another question related to styling: I’ve tried using the background classes for the columns. It works well for most, but the shortcodes with the “_last” doesn’t work… Any idea why it doesn’t? I’m searching as well, but thought I would ask in the process.

    Plugin Author Tobias Schutter

    (@tschutter)

    Do you have an URL for me where I can take a look at?

    Tobias,
    I am having the same issue with a test site that I am working on. I created custom css to control the margins, color, etc and they work great, except on the shortcodes with “_last”.

    My test site is http://auburnillinois.us/testing/wordpress/

    Any help would be appreciated!

    I did get the class to apply to the shortcodes with “_last”. I just deleted the shortcode and started over and they seem to work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Background colors/images behind columns’ is closed to new replies.