ericandrew
Member
Posted 7 months 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.
ericandrew
Member
Posted 7 months 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.
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.
ericandrew
Member
Posted 7 months 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?
do you know if I can call an image that I've uploaded via ftp from my css
Yes this is possible.
ericandrew
Member
Posted 7 months ago #
would I do it the same as background: url(directory/image.jpg) ;
like normal ?
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.