Loading ...

background color of cms page | Communifire Support

Home » Spaces » Communifire Support » forum » Communifire API & Developers » background color of cms page
Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Edit navigation item

Required The name that will appear in the space navigation.
Required
Required
Required The url can point to an internal or external web page.
 
Login to follow, share, and participate in this space.
Don’t have a support community login?Create your account now
Posted in: Communifire API & Developers

background color of cms page

Subscribe to RSS
  • debbiep

    Is there a way to add a background color to a space CMS page with code? 

    I am not a system admin and don't have access to everything.

    Thanks!

    Debbie

  • gskamau

    Hi Debbie,

    You can change the background color by using an HTML style tag. Edit the CMS page, and in the rich text editor toolbar, click View > View Source.

    Then add a style section in the source code, like below.

    <style>
    body { background: #e6e6fa; }
    </style>

    This will change the background color of the CMS page.

    Let us know if you need any help doing this.

    Grace

  • debbiep

    Thank you so much! I did change that, but what I was really asking about was the section with the content-- all the text area. Is the actual content in a table?

    Love the idea for changing the color of the outer area!

    Debbie

  • gskamau
    Answered

    Hi Debbie,

    Do you mean like this:

    If so, use this code instead:

    <style>
    .axero-section { background: #e6e6fa; }
    </style>

    And change #e6e6fa; to your desired color.

    Grace

  • debbiep

    You are awesome! Now I have 2 options. :-)

    Thanks so much.

    Debbie

Page 1 of 1 (5 items)