• Resolved MisterJ

    (@misterj)


    I have used this plugin, Simple CSS, on other projects with no trouble, but on this theme it will not override the theme’s default styles. I have had to resort to the dreaded inline styles, but that is not possible in many places.

    Is this plugin not compatible with your theme? Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you post a link to your site? Also, what changes have you tried to make?

    Thread Starter MisterJ

    (@misterj)

    Oh sorry for not posting the link and thank you for your help!

    I am unable to post CSS in the plugin to adjust the header image to reduce the miles of margin and/or padding. tried these with no effect:
    aside #lum-wpheader, aside lum-banner {padding-top: 0; margin-bottom: -3em;}
    .lum-header-image {margin-bottom: -3em;}
    #lum-wpheader .lum-header-image img {margin-bottom: -3em;}

    I had to inline style the homepage signature, which would not use the Google font and my style in the plugin and the same for the paragraph before it, which I gave a class of “no-margin-bottom” (tried various methods and none had any effect):
    .entry-content p.no-margin-bottom {margin-bottom: 0;}
    .entry-content div#signature {font-family: ‘Arizonia’, cursive; color: #2b2b2b; text-shadow: 4px 4px 0px rgba(0,0,0,0.1); line-height: 120%; font-weight: 400;}

    I had to inline style the HMHdesign image in the footer as well, because these styles were not recognized:
    #HMHdesign {text-align: center; margin: 1em auto 1em;}
    #HMHdesign img {margin: 0 auto;}

    Thanks again for your help!

    On line 27 of your custom CSS plugin, you’ve forgotten the closing bracket on

    #bottom-phone {text-align: center; margin: 0; padding: 0;

    which is causing parsing errors throughout the rest of the stylesheet.

    Thread Starter MisterJ

    (@misterj)

    Awesome! Thank you so much! I can’t believe I did that and then didn’t find it. I think I will use my text editor to edit the styles (so I would notice something like that next time) and then copy/paste my style in the plugin whenever I make changes instead of working in the WP dashboard page to avoid this in the future.

    Your help is greatly appreciated!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Simple CSS Plugin Will Not Override Default Styles’ is closed to new replies.