• sn0z33r

    (@sn0z33r)


    Hi everybody,

    i’m playing with my first wp template, so i’ve include reset.css form Eric Mayer (if you want to see the code i’ve uploaded css on pastebin https://pastebin.com/q3ZBzyT3 ) and the classic style.css that contains all the infos and the styles of my theme.
    When i’ve finished my theme and i write the first article for testing i’ve seen that all styles of text was resetted, in example the strong tag and the em tag was resetted. Then i’ve tried to declare a new style in my style.css like strong { text-weight:bold; } but looking the rendering of the template in firefox using firebug plugin i’ve seen that all my styles about strong tag was rewrited and owned by reset.css …. anyone has any hint to solve my problem ??
    thanks !!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Make sure you include your reset stylesheet above your main stylesheet.
    E.g

    <link rel="stylesheet" type="text/css" href="reset.css" />
    <link rel="stylesheet" type="text/css" href="style.css" />

    Thread Starter sn0z33r

    (@sn0z33r)

    i’m without words…..
    thankyou very much my friend, your idea solve my problem !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘My first custom theme and first css reset problem’ is closed to new replies.