Shortcode css Styling

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4696
    Leap
    Member

    I can’t seem to put any styling elements in my shortcode (first time i’ve used shortcodes). I’ve tried inline styling, I’ve tried giving a class to the shortcode example:
    [one_third class=”grn”]
    with css in style sheet:
    .grn{
    background-color:#CCCC99;}
    giving it ID and styling in my css file.
    Help Please
    How do I create a background color for each of these columns?
    Thanks
    [one_third]first[/one_third]
    [one_third]second[/one_third]
    [one_third_last]last[/one_third_last]
    Thanks,

    #4699
    Leap
    Member

    Ok, finally figured it out. NOT sure if this is right but i put a div inside the shortcode and styled that in my css sheet and it worked.

    #4712
    Nexus
    Moderator

    Great. Thanks for letting us know.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Agile Theme Support’ is closed to new topics and replies.