Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke
Author Message
pan
Involved
Involved


Joined: Jul 25, 2006
Posts: 354

PostPosted: Fri Aug 27, 2010 6:19 pm Reply with quote

How can I make my links in my ravennuke install be normal sized text

It's always smaller than everything else eg. Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Sat Aug 28, 2010 2:18 am Reply with quote

That link does not lead to a RN website, but in answer to your question it is probably theme related.
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9453
Location: Arizona

PostPosted: Sat Aug 28, 2010 9:03 am Reply with quote

pan, yes, look at your theme's style.css, especially where there is an "a" tag. Wink

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
pan
PostPosted: Mon Aug 30, 2010 5:00 am Reply with quote

that link didn't need to link to a real website............. Neutral

It was an example - it's the exact same thing here.


What do i edit in css?
 
jakec
PostPosted: Mon Aug 30, 2010 6:04 am Reply with quote

Ah I see, you need to look for the 'a' tag within the CSS file.

I would recommend using the Firebug addon for Firefox. This will help you to inspect the HTML and CSS for the page and then easily find the right tag.
 
pan
PostPosted: Mon Aug 30, 2010 6:29 am Reply with quote

Can someone just paste a line and show me what to edit? I just want the font size of links to act like the normal text. Even when you use size tags.

Code:
font {font-family: Verdana,Helvetica,sans-serif;}

td {font-family: Verdana,Helvetica,sans-serif; font-size: 10px}
body {font-family: Verdana,Helvetica,sans-serif; font-size: 10px}
p {font-family: Verdana,Helvetica,sans-serif; font-size: 10px}
div {font-family: Verdana,Helvetica,sans-serif; font-size: 10px}
input{margin-bottom:2px;margin-top:2px;text-indent:2px}
input,textarea,select{border-color:#000000;color:#000000;font-size:11px}
input,textarea,select{background: #ffffff;border-width:1px;font:normal 11px Verdana,Arial,Helvetica,sans-serif}
input.catbutton{background:#fafafa;color:#000000;font-size:10px}
input.button{background:#fafafa;color:#000000;font-size:10px}
input.liteoption{background: #fafafa;color:#000000}
input.mainoption{background:#fafafa;color:#000000;font-weight:bold}
input.post,textarea.post,select{background: #ffffff;color:#000000}
.helpline{background:#e1e9f2;border-style:none;color:#000000}
.code{background:#fafafa;border:1px solid #d1d7dc;color:#006600; font:11px Courier,"Courier New",sans-serif;padding:5px}
.quote{background:#fafafa;border:1px solid #d1d7dc;color:#444444; font:11px/125% Verdana,Arial,Helvetica,sans-serif}
.bodyline{background: #f7f8fc;color:#000000;border:1px solid #98aab1}
body{background:#ecf0f6;color:#000000;}
.hidegoogle{color:#ecf0f6;font-size:0pt;}
hr{border: 0px solid #516A88;border-top-width:1px;height:0px}
a:link,a:active,a:visited,a.postlink{color:#32475f;text-decoration:none}
a:hover,a.topictitle:hover{color:#839fbc;text-decoration:underline}
.title       {background: none; color: #000000; font-size: 14px; font-weight: bold; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.content     {background: none; color: #000000; font-size: 10px; font-family: Verdana, Helvetica,sans-serif}
.block-title {background: none; color: #516A88; font-size: 10px; font-family: Verdana, Helvetica,sans-serif}
.storytitle  {background: none; color: #516A88; font-size: 12px; font-weight: bold; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.storycat    {background: none; color: #000000; font-size: 12px; font-weight: bold; font-family: Verdana, Helvetica,sans-serif; text-decoration: underline}
.boxtitle    {background: none; color: #000000; font-size: 10px; font-weight: bold; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.boxcontent  {background: none; color: #000000; font-size: 10px; font-family: Verdana, Helvetica,sans-serif}
.option      {background: none; color: #000000; font-size: 10px; font-weight: bold; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.tiny        {background: none; color: #000000; font-size: 10px; font-weight: normal; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.small       {background: none; color: #000000; font-size: 9px; font-weight: normal; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.sandersh1   {background: none; color: #990000; font-size: 18px; font-weight: bold; font-family: Arial, Verdana, Helvetica,sans-serif; text-decoration: none}
.sandersh2   {background: none; color: #990000; font-size: 16px; font-weight: bold; font-family: Arial, Verdana, Helvetica,sans-serif; text-decoration: none}
.sandersh3   {background: none; color: #990000; font-size: 14px; font-weight: bold; font-family: Arial, Verdana, Helvetica,sans-serif; text-decoration: none}
.sandersp    {background: none; color: #000000; font-size: 12px; font-family: Verdana, Helvetica,sans-serif; text-decoration: none}
.hideme      {visibility: hidden;}
.sandershr   {border: 5px;border-top-width:5px;height:2px}
img {border-style: none }
.someclass {border-style: outset; border-width: 1px; border-color: #000000 }

/* GCalendar sample styles for fisubice theme */

.gcal-error {
   font-weight: bold;
   color: red;
}

form.gcal-event-form legend {
   font-weight: bold;
   color: black;
}

form.gcal-event-form .normal-label {
   font-weight: bold;
   color: black;
}

form.gcal-event-form .error-label {
   font-weight: bold;
   color: red;
}

table.gcal-block-cal {
   width: 100%;
   border-width: 1px;
   border-style: solid;
   border-color: black;
}

table.gcal-block-cal a {
}

table.gcal-block-cal a:link {
   text-decoration: underline;
}
table.gcal-block-cal a:visited {
   text-decoration: underline;
}
table.gcal-block-cal a:hover {
   text-decoration: underline;
}
table.gcal-block-cal a:active {
   text-decoration: underline;
}

table.gcal-block-cal a.today {
   color: white;
}

table.gcal-block-cal th {
   color: white;
   text-align: center;
   background-image: url(../../../modules/Forums/templates/subSilver/images/cellpic3.gif);
   border-width: 1px;
   padding: 1px;
   border-style: outset;
   border-color: black;
   font-size: 12px;
}

table.gcal-block-cal td {
   border-width: 1px;
   padding: 1px;
   border-style: hidden;
   text-align: center;
}

table.gcal-block-cal td.no-day {
}

table.gcal-block-cal td.day-no-event {
}

table.gcal-block-cal td.day-event {
   border: solid 1px teal;
}

table.gcal-block-cal td.today-no-event {
   background-image: url(../../../modules/Forums/templates/subSilver/images/cellpic3.gif);
   color: white;
   border-style: outset;
   border-color: black;
}

table.gcal-block-cal td.today-event {
   background-image: url(../../../modules/Forums/templates/subSilver/images/cellpic3.gif);
   font-weight: bold;
   border-style: outset;
   border-color: black;
}

table.gcal-block-events {
   border: solid 1px black;
   width: 100%;
}

table.gcal-block-events a:link {
   text-decoration: underline;
}
table.gcal-block-events a:visited {
   text-decoration: underline;
}
table.gcal-block-events a:hover {
   text-decoration: underline;
}
table.gcal-block-events a:active {
   text-decoration: underline;
}


table.gcal-month {
   width: 100%;
   border-width: 1px;
   border-style: solid;
   border-color: black;
   padding: 1px;
}

table.gcal-month th {
   color: white;
   text-align: center;
   background-image: url(../../../modules/Forums/templates/subSilver/images/cellpic3.gif);
   padding: 2px;
   border: outset 1px black;
}

table.gcal-month td {
   margin: 0px;
   padding: 2px;
   border: outset 1px black;
   height: 75px;
}

table.gcal-month td.no-day {
   background-color: #d2d5d8;
}

table.gcal-month td.day {
}

table.gcal-month td.weekend {
   background-color: #c4d2e3;
}

table.gcal-month td.today {
   background-color: #88b2e6;
}

table.gcal-month a {
}

table.gcal-month a:link {
   text-decoration: underline;
}
table.gcal-month a:visited {
   text-decoration: underline;
}
table.gcal-month a:hover {
   text-decoration: underline;
}
table.gcal-month a:active {
   text-decoration: underline;
}

table.gcal-month a.day-link {
   font-size: 20px;
   background: none;
   color: black;
}

table.gcal-month a.day-link:link {
   text-decoration: underline;
}
table.gcal-month a.day-link:visited {
   text-decoration: underline;
}
table.gcal-month a.day-link:hover {
   text-decoration: underline;
}
table.gcal-month a.day-link:active {
   text-decoration: underline;
}

table.gcal-event {
   width: 80%;
   border-width: 1px;
   border-style: solid;
   border-color: black;
   padding: 0px;
}

table.gcal-event caption {
   padding-bottom: 5px;
   font-weight: bold;
   font-size: 11px;
   margin: 2px;
}

table.gcal-event th {
   background-color: #c9d6e6;
   color: black;
   text-align: right;
   font-size: 11px;
   padding: 4px;
   border: solid 1px black;
}

table.gcal-event td {
   padding: 4px;
   border: solid 1px black;
}

table.gcal-cat-legend {
   border-width: 1px;
   border-style: solid;
   border-color: black;
   padding: 2px;
}

table.gcal-cat-legend td {
   border: none;
}

table.gcal-cat-legend caption {
   padding-bottom: 5px;
   font-weight: bold;
   font-size: 11px;
   margin: 2px;
}
 
jakec
PostPosted: Mon Aug 30, 2010 6:38 am Reply with quote

Can you confirm what theme you are using?
 
pan
PostPosted: Mon Aug 30, 2010 6:41 am Reply with quote

fisubice

the same one as here
 
jakec
PostPosted: Mon Aug 30, 2010 6:52 am Reply with quote

There is a separate CSS for the forums with fisubice called Forums.css.

Open it and adjust this line:

Code:
a:link,a:active,a:visited,a.postlink{font-size:10px;color:#32475f;text-decoration:none;font-family: Verdana,helvetica,sans-serif}
 
pan
PostPosted: Mon Aug 30, 2010 6:53 am Reply with quote

adjust it to what
 
pan
PostPosted: Mon Aug 30, 2010 6:54 am Reply with quote

changing the font size ruins every link on the whole forum (ie. Forum headings etc.)

I just want the link in posts to not be smaller than the normal text (ie. my first post)
 
jakec
PostPosted: Mon Aug 30, 2010 6:55 am Reply with quote

To whatever you, because you want to change the font size then start there.

The best way to learn is trial and error, just make sure you keep a backup. Wink
 
pan
PostPosted: Mon Aug 30, 2010 7:01 am Reply with quote

wtf, can't you just give me an answer.

it's taken like 15 posts and still i don't know how to fix such a simple thing

this is why i wish i made my site phpbb3 standalone in the first place uggghhh
 
jakec
PostPosted: Mon Aug 30, 2010 7:06 am Reply with quote

There is no need for that. Evil or Very Mad

I am trying to help you, I don't have a site running this theme at the moment so I am trying to do this by just looking at the files.

Give me a few minutes and I'll try to setup up a test site.
 
pan
PostPosted: Mon Aug 30, 2010 7:27 am Reply with quote

ok then
 
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Mon Aug 30, 2010 7:28 am Reply with quote

Add this line to your Forums.css file underneath the .postbody line:

Code:
.postbody a{font:12px/125% Verdana,Arial,Helvetica,sans-serif}

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
jakec
PostPosted: Mon Aug 30, 2010 7:32 am Reply with quote

Thanks nuken, I was just adjusting the files.
 
pan
PostPosted: Mon Aug 30, 2010 7:41 am Reply with quote

Thanks, that's been annoying me for weeks.

How do I also always make the post links be underlined?
 
jakec
PostPosted: Mon Aug 30, 2010 7:45 am Reply with quote

Add text-decoration:underline to the above code nuken posted.
 
pan
PostPosted: Mon Aug 30, 2010 7:49 am Reply with quote

tried that

it made the whole line not work
 
pan
PostPosted: Mon Aug 30, 2010 7:51 am Reply with quote

never mind, didn't know how to write it:


.postbody a{font:12px/125% Verdana,Arial,Helvetica,sans-serif;text-decoration:underline}
 
nuken
PostPosted: Mon Aug 30, 2010 7:52 am Reply with quote

No problem Jakec.


As far as it taking 15 posts to give you an answer for FREE, your original post lacks many important details about your actual issue such as the theme you are using and the fact that you only wanted the links in forum posts changed. No one minds giving advise or help, but remember this is done by people who are donating their time and abilities for free.
 
pan
PostPosted: Mon Aug 30, 2010 8:20 am Reply with quote

I gave an exact working example of what I wanted to adjust in my first post

pan wrote:
It's always smaller than everything else eg. Only registered users can see links on this board! Get registered or login!
 
jakec
PostPosted: Mon Aug 30, 2010 9:44 am Reply with quote

.....but it obviously wasn't clear otherwise I would not have asked the question. You didn't say what theme you were using etc.

We like to help people help themselves, so I am sorry if I didn't give you the answer straight away.

Also on another point you could have similar problems with other CMS's.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©