• I got a stylesheet declared in header and its fine. Say it is as “style.css”

    I have made a custom changes to the above style sheet and saved it as “style2.css”

    Now, I want to make “style2.css” overwrite the “style.css” ( totally replacing the default one) through declaring in <body> <link … style2.css /> </body>, something like that.
    Is that possible?

Viewing 1 replies (of 1 total)
  • Thread Starter jfunky

    (@jfunky)

    I think a stylesheet can’t be declared in BODY tag elements of html.

    Ok, another question on styleesheet, lets say I have declared two stylesheets in Header.php.

    <link rel=”stylesheet” href=”style.css” type=”text/css” media=”screen” />
    <link rel=”stylesheet” href=”newstyle.css” type=”text/css” media=”screen” />

    actually, three questions on this :

    1. which one is taken as default stylesheet to apply for the homepage?
    2. is there anyway i can tell it to apply a single style from anyone of them?
    3. and I’ve created a custom page template(say home.php), for that specific page template I want to choose one style from both.
    4. How?

    Any help is greatly appreciated.

Viewing 1 replies (of 1 total)
  • The topic ‘Can i overwrite a stylesheet?’ is closed to new replies.