background color for one column

resolved (6 posts) (3 voices)

  1. maryplum
    Member

    Hi - is it possible to add a different background color for one column of a multi-column layout?

    Posted 5 years ago #
  2. Elliott
    Support

    Hello maryplum,

    You'll need to output the HTML instead of the shortcode and use inline styling like so,

    <div class = "one_half" style = "background: yellow;">
    
    </div>

    You might be interested in our color_box shortcodes, http://themes.mysitemyway.com/persuasion/shortcodes/fancy-boxes-shortcodes/.

    Posted 5 years ago #
  3. maryplum
    Member

    Thanks so much Elliott - will give it a try

    Posted 5 years ago #
  4. Kathleen
    Member

    HI Elliot

    I gave this a try, but it did not seem to work for me. Since I am using vertical tabs on the right, the grey left side extends to the right depending on the length of the text on the right (if the text is not long enough in a specific tab, the grey will extend over to the right side). http://cadrewins.com/wordpress1/client-list/

    Ideally I would like the entire one_third_last section to be this color grey: #b8b8b8. In other words, I would like the grey to extend to the left side of the website so there is no white showing.

    I am currently using the code you mentioned above:
    <div class = "one_third_last" style = "background: silver;">
    </div>

    Do I have other options?

    Thank you for your help.

    Posted 4 years ago #
  5. Elliott
    Support

    It should be,

    <div class = "one_third last">

    Make sure to separate the one_third and last classes.

    Posted 4 years ago #
  6. Kathleen
    Member

    Perfect, thanks for your help!

    Posted 4 years ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme