Loading ...

Custom CSS for a single wiki page | Communifire Support

Home » Spaces » Communifire Support » forum » Features and Functionality » Custom CSS for a single wiki page
Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Add a new tab

Add a hyperlink to the space navigation. You can link to internal or external web pages. Enter the Tab name and Tab URL. Upload or choose an icon. Then click Save.

The name that will appear in the space navigation.
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: Features and Functionality

Custom CSS for a single wiki page

Subscribe to RSS
  • mdrain

    I need to customize the CSS within a single wiki page. Is there a way to add a <style> section to a page's code without its being stripped out?

  • raghav_khunger
    Answered

    Hi Maxwell,

    You can edit the wiki source via "View Source" option:

    Add a div tag at the root with a custom class specific to that wiki only:

    That will be rendered like this:

    Then with the help of CSS Overrides you can ply with that custom class and can apply your own rules like this:

    It will look like this:

    Thanks,
    Raghav

  • mdrain

    Thanks, Raghav.

    To confirm, there is no way to add a style section within the source code of a single page, correct?

    (My goal is to allow the end user to customize the layout of a page without my having to manage CSS overrides.)

  • gskamau

    Hey Maxwell,

    The third party software we use for the rich text editor removes the style tag automatically. I've forwarded the issue to our development team to look into changing that functionality. We'll let you know when it's fixed.

    Grace

  • mdrain

    Thank you.

Page 1 of 1 (5 items)