[resolved] Styling the "Theme Options" (3 posts)

  1. helgipetersen
    Posted 3 years ago #

    I have installed and set up a option page with OptionTree. And now i want to style the backend Theme Option page. How do I do that?


  2. Derek Herman
    Plugin Author

    Posted 3 years ago #

    This is all without testing, but should work. The basic idea is to add a CSS file to your theme and enqueue it in the admin area.

    1. Create a directory named css in the root of your theme.

    2. Create a file named ot-custom-style.css in the directory you just made.

    3. Add the code in this gist https://gist.github.com/97575dab7e75a5c426cf to your functions.php.

    4. Add your custom styles to the CSS file.

    After all that's done you'll have successfully enhanced the default styles of OptionTree

  3. Nicolaes
    Posted 3 years ago #

    Nice my theme option page looks great now:D.

    I have one more question. Is there a way to give a different class to each section? to be able to hook them in the css. I would like to put a different icon to each section from the menu. This would be awesome, if it's possible.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • OptionTree
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.