2007-06-18, 05:50 AM
Pages: 1 2
2007-06-18, 01:47 PM
This is my portal so far
http://www.ikf-forum.eu/portal.php
The list of members who are online is blue, I want to have it black or white.
The same in signin/login View New Posts/View Today's Posts.
I want to give them another color without that the colors changing on other places.
http://www.ikf-forum.eu/portal.php
The list of members who are online is blue, I want to have it black or white.
The same in signin/login View New Posts/View Today's Posts.
I want to give them another color without that the colors changing on other places.
2007-06-18, 02:04 PM
Check the admin panel/templates. Look for whoisonline or theme css. Maybe you need css class for some elements like smalltext - change this class to your class e.g. class="members_online".
Or you can use mysql query like me, bat it's not recommended table [mybb_prefix] themes, field "css"
Or you can use mysql query like me, bat it's not recommended table [mybb_prefix] themes, field "css"
2007-06-18, 02:10 PM
Can you help me with that I want all membernames and the wordt register in black. THANKS
2007-06-18, 03:00 PM
spinning Wrote:Can you help me with that I want all membernames and the wordt register in black. THANKSI just enter to your site and what i see:
from page source you know, which template you need to change:
<!-- start: portal_welcome_guesttext -->
this in Admin page -> templates -> portal templates -> portal_welcome_guesttext
There is: <span class="smalltext">{$lang->guest_welcome_registration}<br /> And now, change className "smalltext" to, hmm, "reg_font". Save the template.
Next go to themes menu (still admin panel)
Select Templates -> Add/modify. Then select your theme, choise edit and Go.
At the end you can find "Additional CSS"
There you can write
.reg_font {
color: #000;
}
original class for link is changed, so maybe you need add (under color:#...) font-size
Let me know about result
and who is online:
from page source : "<!-- start: portal_whosonline -->". From where i konw? When you loking to source, try find e.g. "adelaida" (member's nick) and look what it's before - yu must looking for something like "<!--start: ..."
Then you must go to admin page / templates/portal templates / portal_whosonline_memberbit
{$comma}<a href="{$mybb->settings['bburl']}/member.php?...">{$user['username']}</a>
only change <a class="member_link" href=...
and create class member_link like before for "reg_font"
2007-06-18, 04:13 PM
Quote:Select Templates -> Add/modify. Then select your theme, choise edit and Go.
At the end you can find "Additional CSS"
I think you mean theme because in templates there is no "Additional CSS".[/quote]
But still the links View New Posts and View Today's Posts are in blue.
Quote:<a class="member_link" href=...
what must be in place of ...[/quote]
2007-06-18, 04:47 PM
spinning Wrote:my mistake, thats right - this is in themesQuote:Select Templates -> Add/modify. Then select your theme, choise edit and Go.
At the end you can find "Additional CSS"
I think you mean theme because in templates there is no "Additional CSS".
spinning Wrote:But still the links View New Posts and View Today's Posts are in blue.this is in admin/templates/ portal_welcome_membertext
There you have something like:
<span [b] class="smalltext" [/b]><em>{$lang->member_welcome_lastvisit}</em> {$lastvisit}<br />
{$lang->since_then}<br />
<strong>»</strong> {$lang->new_announcements}<br />
<strong>»</strong> {$lang->new_threads}<br />
<strong>»</strong> {$lang->new_posts}<br /><br />
<a href="{$mybb->settings['bburl']}/search.php?action=getnew">{$lang->view_new}</a><br /><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->view_todays}</a>
</span>
Only change <span class="smalltext" > to <span class="member_link" >spinning Wrote:text "<a class="smalltext" href=.." change to ""<a class="member_link" href=.."Quote:<a class="member_link" href=...what must be in place of ...
Next in themes add new Additional theme:
.member_link { color: #000; }
.member_link:hover {color:#000; }
.member_link:link {color:#000; }
.member_link:visited {color:#000; }
.member_link:active {color:#000; }
in this way you can choice colors for links (e.g. when you move mouse over the link)That's all
2007-06-18, 05:46 PM
I guess it still don't work or I make mistakes.
I tell you what I did.
first the colors of the names from people who are online
1. TEMPLATES - MODIFY - EXPAND
2. portal-templates - portal_whosonline
3. changed
<tr>
<td class="trow1">
<span class="smalltext">
to
<tr>
<td class="trow1">
<span class="member_link">
4. THEMES - MODIFY/DELETE
5. in the standard Additional CSS I add
.autocomplete {
text-align: left;
}
.reg_font {
color: #000;
}
.member_link { color: #000; }
.member_link:hover {color:#000; }
.member_link:link {color:#000; }
.member_link:visited {color:#000; }
.member_link:active {color:#000; }
I tell you what I did.
first the colors of the names from people who are online
1. TEMPLATES - MODIFY - EXPAND
2. portal-templates - portal_whosonline
3. changed
<tr>
<td class="trow1">
<span class="smalltext">
to
<tr>
<td class="trow1">
<span class="member_link">
4. THEMES - MODIFY/DELETE
5. in the standard Additional CSS I add
.autocomplete {
text-align: left;
}
.reg_font {
color: #000;
}
.member_link { color: #000; }
.member_link:hover {color:#000; }
.member_link:link {color:#000; }
.member_link:visited {color:#000; }
.member_link:active {color:#000; }
2007-06-18, 06:51 PM
I also delete this line
from this CSS because in the forum also colors change,
Quote:}
.reg_font {
color: #000;
}
from this CSS because in the forum also colors change,
2007-06-18, 07:01 PM
spinning Wrote:I also delete this line
Quote:}
.reg_font {
color: #000;
}
from this CSS because in the forum also colors change,
Did you delete:
.reg_font {
color: #000;
}
Or:
}
.reg_font {
color: #000;
}
If you did the second, you will have deleted a closing parenthesis for .autocomplete which will need putting back in.
Pages: 1 2