|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 363 Joined: 11-January 07 From: Journey to Gnosis Member No.: 36,930 myCENT:94.21 |
Post
#1
Mar 3 2007, 02:14 AM
This one will probably be a no-brainer for most of you talented folks out there, but I'm still not there yet. I just installed Cutenews and want to do a simple color change to the text within the "default" template. All I want to do is change the color on the title and comment text. I wouldn't mind changing the font size either. I tried inserting html code but that didn't work, so either I'm inserting it the wrong place or I'm using the wrong code. What's the easiest way to do this? Thanks in advance for your help. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 621 Joined: 30-July 06 From: Earth, Usa, Maine, Waterford, Member No.: 27,507 ![]() |
Post
#2
Mar 3 2007, 02:18 AM
Well what is Cutenews? Something to do with News and cute I suppose? I think If I knew A little bit more on this subject I could be more then willing to help. Catch my drift? |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [MODERATOR]
Posts: 4,903 Joined: 24-July 05 From: Linux, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() myCENT:67.30 |
Post
#3
Mar 3 2007, 03:23 AM
Can you troll around and find a CSS stylesheet file for the page? Then you could alter the css to reflect the changes you want. Usually performing a View Source and looking for the "<link rel="stylesheet" " will point you to the CSS file. Then it is a matter of finding the html elements you want to alter and affecting the related CSS file entries. Post a link to the page in question and someone could have a look for you. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 1,052 Joined: 16-October 04 From: Houston, Tejas :D Member No.: 1,774 |
Post
#4
Mar 3 2007, 03:56 AM
I can't reach my account right now because it's suspended (I have an installation of CuteNews running), and I've found two things. If you have a default stylesheet, it'll usually override CuteNews' styles; if not, look for the following code: CODE <style type="text/css"> <!-- @import url(http://cutephp.com/site-files/main.css); @import url(http://cutephp.com/site-files/ffb/getff.css); --> </style> And follow the path from your individual site (check under a directory called templates or site, or something like that.) If you can't find it still, look through all directories until you see a .css file. Once you find it, look for something that says the following: CODE a:link , a:visited { color:#345360; text-decoration: none; } a:hover , a:focus { text-decoration: underline; } And edit the color with your favorite hexadecimal color code. Just in case you're not familiar with the values, :link is a normal link, :visited is one you've clicked on, :hover is the hover effect, and :focus is what happens when you're holding your mouse down on a link. Best of luck. Remember that I'm using the demo file; I'll verify this once I get my stupid site up |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Admin
Posts: 3,762 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 myCENT:24.00 |
Post
#5
Mar 4 2007, 01:34 AM
Go to your Options > Edit template from Cutenews administration login. Make sure you're editing DEFAULT template. Click on ACTIVE NEWS CODE <div style="width:420px; margin-bottom:30px;"> <div><strong>{title}</strong></div> <div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #D3D3D3;">{short-story}</div> <div style="float: right;">[full-link]Read more •[/full-link] [com-link]{comments-num} Comments[/com-link]</div> See the {title} ? You can add different colors to that. If you prefer instead of <strong> replace it with <h1> or whatever and define the color and style using your regular CSS. It's simple. Apply similar changed to any area you wish to change. Under the same template, click on COMMENT and change to your liking. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED]
Posts: 363 Joined: 11-January 07 From: Journey to Gnosis Member No.: 36,930 myCENT:94.21 |
Post
#6
Mar 5 2007, 02:21 AM
QUOTE(BuffaloHELP @ Mar 3 2007, 05:34 PM) [snapback]312447[/snapback] Go to your Options > Edit template from Cutenews administration login. Make sure you're editing DEFAULT template. Click on ACTIVE NEWS CODE <div style="width:420px; margin-bottom:30px;"> <div><strong>{title}</strong></div> <div style="text-align:justify; padding:3px; margin-top:3px; margin-bottom:5px; border-top:1px solid #D3D3D3;">{short-story}</div> <div style="float: right;">[full-link]Read more •[/full-link] [com-link]{comments-num} Comments[/com-link]</div> See the {title} ? You can add different colors to that. If you prefer instead of <strong> replace it with <h1> or whatever and define the color and style using your regular CSS. It's simple. Apply similar changed to any area you wish to change. Under the same template, click on COMMENT and change to your liking. Thanks for the help, Buff. I entered the following code where you instructed: <b><font style="font-family:Tahoma; font-size:13px; color: 505050;">{title}</font></b> I can change the font family and size, but the color won't change unless I type in a word (like, "blue"). It won't render the color change if I use hex code. What the heck am I doing wrong? If I have to make the color changes in CSS (hope I don't have to), I'll need step by step instructions. --------------------- Ooops! Disregard the last question. I seem to have figured out -knock on wood: <b><font style="font-family:Tahoma; font-size:13px; color: #505050">{title}</font></b> Just forgot to put a stupid little number sign in front of the hex code. Not quite sure why sometimes than number sign is necessary, and sometimes it isn't. Seems pretty anal, but I don't care as long as it works! Geez, sometimes I wish I wasn't such a left-brainer. Thanks Buff and everyone else for you help! This post has been edited by vbritton: Mar 5 2007, 05:41 AM |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
14 | gisellebebegirl | 3,502 | 28th February 2008 - 07:49 PM Last post by: lemonwonder |
|||
![]() |
3 | --Stealth-- | 2,099 | 6th March 2008 - 06:57 PM Last post by: FeedBacker |
|||
![]() |
6 | SmUX | 3,299 | 21st December 2004 - 02:14 AM Last post by: chiclete |
|||
![]() |
11 | karlo | 7,707 | 23rd January 2005 - 04:29 PM Last post by: popac |
|||
![]() |
0 | BuffaloHelp | 118 | 24th September 2009 - 01:02 AM Last post by: BuffaloHelp |
|||
![]() |
2 | miCRoSCoPiC^eaRthLinG | 2,257 | 2nd July 2005 - 05:31 PM Last post by: miCRoSCoPiC^eaRthLinG |
|||
![]() |
1 | carrot | 1,523 | 5th March 2005 - 04:21 AM Last post by: canute24 |
|||
![]() |
13 | rldowling03 | 1,387 | 1st June 2007 - 11:16 PM Last post by: webointer |
|||
![]() |
10 | -hpforums- | 2,531 | 14th January 2005 - 04:59 PM Last post by: -aflm- |
|||
![]() |
7 | karlo | 1,771 | 6th May 2005 - 06:38 PM Last post by: dr1v3r |
|||
![]() |
4 | wariorpk | 1,066 | 18th February 2008 - 12:01 AM Last post by: FeedBacker |
|||
![]() |
5 | lamode | 2,826 | 6th March 2008 - 07:45 PM Last post by: FeedBacker |
|||
![]() |
4 | beeseven | 1,385 | 10th May 2005 - 12:49 AM Last post by: beeseven |
|||
![]() |
17 | puppeter | 2,049 | 23rd May 2005 - 05:23 PM Last post by: lava.alt |
|||
![]() |
2 | LalalaMe | 3,058 | 29th May 2005 - 11:47 PM Last post by: Phyre |
|||
|
Open Discussion | Time is now: 6th November 2009 - 07:40 PM |
Web Hosting Powered by ComputingHost.com.