WordPress.org

Support

Support » Themes and Templates » [Resolved] additional style sheet

[Resolved] additional style sheet

  • 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

    WPyogi

    @wpyogi

    Forum Moderator

    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.

    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?

    Moderator Andrew Nevins

    @anevins

    Forum moderator

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

    Yes this is possible.

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

    like normal ?

    Moderator Andrew Nevins

    @anevins

    Forum moderator

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] additional style sheet’ is closed to new replies.
Skip to toolbar