Custom CSS Not Working on Self-Installed Blog
-
Hello. I just learned about the custom CSS that is available via the JetPack plugin, and so I decided to test it out on my WP 4.7.2 self-installed blog using theme TwentyTen.
I went into JetPack’s custom CSS settings, and added the following in the CSS field in the left-hand column as a test:
div.bluefont { color:#0000ff; } div.redfont { color:#dd0000; } div.greenfont { color:#427580; } div.purplefont { color:#960af8; } div.box0 { position:relative; float:left; margin-left:0px; margin-right:0px; margin-bottom:20px; -moz-border-radius:5px; border-radius:5px; padding:20px 0px 20px 5px; text-align:left; width:100.000%; background-color:#6cadee; } div.box1 { position:relative; float:left; margin-left:0px; margin-right:0px; margin-top:0.5em; margin-bottom:0.5em; -moz-border-radius:5px; border-radius:5px; padding:15px; text-align:left; width:88.000%; background-color:#ffffff; } div.box2 { position:relative; float:left; margin-bottom:0.5em; -moz-border-radius:5px; border-radius:5px; padding: 15px; text-align:left; width:88.000%; color:#ffffff; background-color:#0a1b4e; } div.box3 { position:relative; float:left; width:100.000%; background-color:#ffffff; } div.floatleft { position:relative; float:left; } div.floatright { position:relative; float:right; }
After saving those settings, I created a new blog post in which I tried to implement a few of those div styles. It is not working at all.
I thought that maybe I am doing something wrong, but then I also discovered this on your website:
“Note: you must have either WordPress.com Premium or WordPress.com Business active on your site to be able to add custom CSS to your site.”
So does that mean that custom CSS will not work on my self-installed WP blog unless my blog is connected to a premium or business account on wordpress.com?
I just have a regular, free wordpress.com account.
Thank you.
- The topic ‘Custom CSS Not Working on Self-Installed Blog’ is closed to new replies.