Adding CSS into page content in Edit Page?
-
I’m working on a WP site for a client and am using the Framework template. I want to have just one column pages for About Us, Contact, Work Examples and two columns for her Blog page. Not being very familiar with WP, I decided to put a little CSS at the top of the pages where I just want one column–see below. The problem is when I switch to the Visual edit view (which is what she’ll be using when she makes her own web changes), my styles get turned into comments (<style gets changed to <!– ). Is there a better way to achieve what I’m trying to do? Here’s an example page: https://corporategiftconcierge.com/about/
<style type=”text/css” media=”screen”>
#sidebar { width: 0; overflow: hidden; visibility: hidden; display: none; }
.aside { width: 0px;visibility: hidden; display: none; }
#content #primary { width: 700px; padding-right: 50px; padding-left: 50px; }
</style>
- The topic ‘Adding CSS into page content in Edit Page?’ is closed to new replies.