CSS code for colored content block deletes

Community Forums Forums Design Tips and Tricks CSS code for colored content block deletes

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Davinder Singh Kainth 5 months, 4 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103424

    barneydavey
    Participant
    Post count: 1

    I followed Brian’s tips for adding colored content block to my post, but can’t get it to work. http://www.studiopress.com/design/colored-content-boxes-buttons.htm
    I added the CSS from his tutorial into the style css and saved it. Whenever I add the CSS to my post

    <div class=”content-box-blue”>Enter content box text here.</div> and then save the draft, all the code gets stripped from the text editor, leaving only the <div> tags. I have tried in on two separate browsers and two different StudioPress themes with same results. IT seems so straightforward, I am baffled why I am having this problem. All help is most appreciated.

    http://artprintissues.com & http://barneydavey.com
    #103453

    Davinder Singh Kainth
    Participant
    Post count: 1298

    While adding code in post, do you switch to html only mode ?


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

    #103492

    barneydavey
    Participant
    Post count: 1

    Hi thanks for your reply. I am putting the <div> tags in the text editor. Here is a link to a screencast showing what happens;

    http://screencast.com/t/VYZUakpW6

    #103566

    Davinder Singh Kainth
    Participant
    Post count: 1298

    The procedure you are using is correct. It seems you have installed few plugins to add font styling and other features to the editor – have you checked by disabling these or all plugins?


    Need website customization services or other Genesis / WordPress help ?
    Davinder @ Design Studio iGuiding Media | My Blog | Fresh Genesis Themes Collection

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.