Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] classes work, but div's don't


  #1  
Old Oct 12, 2015, 04:24 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Dear all,

I am using a class called "mysub-header" on my multisite installation with the following properties:

.mysub-header {
font-size: 14pt;
padding-top: 15pt;
padding-bottom: 10pt;
border-bottom: thin solid Silver;
}

This has been working for years. It works on the main site, see for example this page where it affects the sub-header "Over een uitspraak van Leo Trotski".

However, it does not work anymore on one of the other sites, e.g. on this page where the sub-header is "Over amateurs en professionals in de poëzie".

I noticed that classes in general still work, e.g. <p class="example"> and the problem is mostly with <div>.

Would you have any clue what's going on?

Thanks!
  #2  
Old Oct 12, 2015, 05:34 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If the CSS is in the CSS Inserts, what generally what that generally means is that you have a syntax error in a peice of the CSS that is before this CSS.

So go to your CSS Inserts and find that class, then scan thru the css before that to see if you can find the syntax error.

or you could move that css to teh top of the CSS inserts and see if it works. If it does, move is down half way and see if it works, if it does move it down again. If it doesn't move it up till it startes working and you will narrow in on the syntax error.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 12, 2015, 05:46 PM
RHCdG
 
170 posts · Nov 2009
Netherlands
Thank you JD,
Upon reading your response, I actually got the idea to use an online CSS Validator, and it did point out an error in one of the classes. It's now fixed. Thanks!

Bookmarks

Tags
class, div, multisite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Widget CSS Classes Plugin swimflyfast2 Sidebars & Widgets 21 Feb 5, 2013 02:33 PM
[SOLVED] Adding div's and classes to html in individual posts webgurl Center area post/pages 16 Jul 12, 2011 07:14 PM
[SOLVED] Classes added to style.css seem to be ignored kostermw Header configuration & styling 4 Oct 6, 2009 10:20 AM
How to create IDīs and Classes to address specific items in the theme ? Tigger Atahualpa 3 Wordpress theme 4 Mar 11, 2009 02:47 PM


All times are GMT -6. The time now is 03:03 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.