Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11864

    I’m having an issue with the Dynamic CSS overriding the custom.css file.

    I’m working in a local dev environment so I don’t have a link to a site, but here is a screen shot of the issue:

    http://www.jccdenver.org/awake/wp-content/uploads/2012/04/Picture-4.png

    Basically, it overwrites the initial styling for ai1ec event post type by coloring one of the columns purple, but it continues to do this even when I change the style in custom.css

    #top .primary-background, .dropcap2, div .button, input[type="submit"], #submit, .info_text_header, #info_text_header .infotext, .numeric_controls a:hover, .numeric_controls .active_item, .contentSlideControlls a.activeItem, #top th, #top .related_posts .contentSlideControlls a.activeItem, #top .arrow_controls a, #main .content #searchsubmit:hover, .callout a, #info_text_header.minimized:hover {
    background-color: #609;
    }

    #top .on-primary-color, #top .on-primary-color a, .dropcap2, div .button, input[type="submit"], #submit, .info_text_header, .info_text_header a, .info_text_header a:hover, .contentSlideControlls a.activeItem, #top .related_posts .contentSlideControlls a.activeItem, .contentSlideControlls a:hover, #top .related_posts .contentSlideControlls a:hover, #top th, #top th a, a.button:hover, .callout a, #top .big_button:hover {
    color: white;
    }

    Above are the two styles overriding the table colors. I’m not sure what CSS class/id is being applied to the table that is causing this.

    #73395

    Hi,

    Try adding the !important in the style you have added in your custom.css. Here is an example of how to use it:

    Code:
    .selector {
    color: blue!important;
    }

    The !important prevents your styling from being overrided. Hope this helps your code. :)

    Best Regards,

    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Dynamic CSS overriding custom.css’ is closed to new replies.