Jump to content

Recommended Posts

Posted

Perhaps I'm missing the point here, but why don't you just add a textarea field for custom CSS and output the contents of that in your template files?

  • Like 3
Posted
Posted

Another approach is to add class to the body tag, eg.

<body class="template-basic-page page-1022" blabla

and add specific rules in your CSS like 

#page-1022 .main-content {
   background: red;
}
Posted

Another approach is to add class to the body tag, eg.

<body class="template-basic-page page-1022" blabla

and add specific rules in your CSS like 

#page-1022 .main-content {
   background: red;
}

The critical cons of this method is ordinary users have to access the template css file.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...