Support » Themes and Templates » CSS not applied on page

  • regevlio



    I’m building a new template,
    I have built a php file for contact-us details and im using the general style.css for styling.

    The call for the style-sheet is located in the header and here is my code:

    <link rel="stylesheet" type="text/css" title="Default Styles" media="screen" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

    on my homepage (index.php) the style is applied and everything is just fine.

    but when i try loading a page (index.php?page_id=129)
    the style is applied only for the footer and header but for some reason ignores the contact-us module.

    any clues on why that may happen ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    please post a link to your site.

    without seeing the problem, it is quite impossible to comment on any possible cause.



    you may doesn’t have style for contact details in your style.css file. thats why its not working…

    if you have style css for contact details in different css file, you must add the same in your header.php as below,

    for example your css name is contact.css

    <link rel=”stylesheet” type=”text/css” media=”screen” href=”<?php bloginfo( ‘stylesheet_directory’ ); ?>/contact.css” />

    [sig moderated as per the Forum Rules]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS not applied on page’ is closed to new replies.