FreeHostia Forums
https://forum.freehostia.com/

Linking to an external css not working [solved]
https://forum.freehostia.com/viewtopic.php?f=8&t=10233
Page 1 of 1

Author:  accodion [ Fri Aug 21, 2009 2:23 am ]
Post subject:  Linking to an external css not working [solved]

Hello. I recently started a webcomic using wordpress, comicpress, and comicpress manager. I would like to set up additional pages (an 'about' page, a cast list, etc), but whenever I try linking to the css sheet located in the /wp-content/themes/comicpress directory, it doesn't work. I get the basic green background that I've used, but nothing else.

I'm new to websites, so I only know enough to follow directions and things I look up on google, as well as follow some common sense. However, I haven't been able to make any more pages that have the same look (my banner/comicpress' navigation bar with the home/about/subscribe links).

I was wondering I'd have to do to get this to work. The main site is http://www.codibrock.co.cc , and the 'about' page I want to make is http://www.codibrock.co.cc/aboutpage.html . If a php or other type of file would be better for this, that's good too. I just used html because it's what I have the biggest grasp of.

My coding for the aboutpage is

Code:
<html>
<head>

<LINK REL=Stylesheet HREF="/wp-content/themes/comicpress/style.css" TYPE="text/css">

<title>Approximate Thought ::A Comic About Nothing::</title>
</head>
<body>
<p>Testingly good looks.
</body>
</html>


Thank you in advance for any help and insight =)

Author:  FnCool [ Fri Aug 21, 2009 3:23 pm ]
Post subject: 

wordpress comes with an about page.
use that, but edit it to your liking.
i don't know what you have there, i see all the css in the head, not in a .css file.
but yes, all you should need is:
Code:
<link rel="stylesheet" href="wp-content/themes/comicpress/style.css" type="text/css">

regardless of what type of page you use.

i have heard people include the url, like:
Code:
<link rel="stylesheet" href="http://codibrock.co.cc/wp-content/themes/comicpress/style.css" type="text/css">

but that's like hotlinking, so many times it won't work.

Author:  accodion [ Fri Aug 21, 2009 10:01 pm ]
Post subject: 

Ah, I didn't see the Pages section before. Thank you very much =)

It's much easier doing it through wordpress than it is trying to hand code the pages, haha.

Author:  58_Garrett [ Fri Jun 10, 2011 9:52 pm ]
Post subject:  Linking to an external css not working solved

Hi guys i am using the css max-width to auto resize the images in wordpress post but the images are not properly autoresized that is only the width is resized and not the height.

How can i have a autoresize both of the width and height of the images?


.postclass img
max-width: 500px;
width: expressionthis.width &gt; 500 ? 500: true;

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/