WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] additional style sheet (7 posts)

  1. ericandrew
    Member
    Posted 1 year ago #

    I am having a problem with conditional statements.

    I've tried a million different times to link a separate stylesheet to my static home page. It is absolutely not working.

    I'm knew to this so, there could be something major that I'm overlooking but I have been unsuccessful for days now trying to get a template page to ignore

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

    and read a different stylesheet. if / else statements have no worked.

    Any help is appreciated.

  2. ericandrew
    Member
    Posted 1 year ago #

    it seems that i have been linking my stylesheets but the styles aren't close to what they're defined as in my stylesheet.

    i have no idea why.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Perhaps the CSS selectors you are using are not specific enough -- and thus getting overridden by other CSS? Are you using Firebug to look at what CSS is actually affecting the page?

    If you post a link to your site, someone may be able to offer more help.

  4. ericandrew
    Member
    Posted 1 year ago #

    I'm working locally right now. Specifically trying to get a static landing page to work. do you know if I can call an image that I've uploaded via ftp from my css?

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    do you know if I can call an image that I've uploaded via ftp from my css

    Yes this is possible.

  6. ericandrew
    Member
    Posted 1 year ago #

    would I do it the same as background: url(directory/image.jpg) ;

    like normal ?

  7. Andrew
    Forum Moderator
    Posted 1 year ago #

    Yes, directories and files should be accessible through CSS styles that refer them. If not, you may need to correct set permissions on the directories.

Topic Closed

This topic has been closed to new replies.

About this Topic