Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Text Colour 
 
Hi

I've changed some of the graphics in my forum and I'd like to change the text colour that goes in the titles of all the boxes such as 'Menu', 'User Block, 'Poll', 'Top Posters' etc, but not in the top menu bar (the one that goes: Home / Forum / Search / FAQ / Register / Log in).  Can someone help please?

I did search for this, honest!
 



 
tc1967ukSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Text Colour 
 
tc1967uk wrote: [View Post]
Hi

I've changed some of the graphics in my forum and I'd like to change the text colour that goes in the titles of all the boxes such as 'Menu', 'User Block, 'Poll', 'Top Posters' etc, but not in the top menu bar (the one that goes: Home / Forum / Search / FAQ / Register / Log in).  Can someone help please?

I did search for this, honest!



Most of the colors are specified in the CSS.

The way to proceed to change a color is first of all finding in the template the class of the element you want to change, then look for that class in the CSS and change the color property for that element.
 




____________
Non c'era la legge sul pericolo...
 
CristinaSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
Can you give me an example of what code I should look for and in what file, say if I wanted to change the text in 'User Block' using 'ice' template in 'mg_theme', please?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
tc1967uk wrote: [View Post]
Can you give me an example of what code I should look for and in what file, say if I wanted to change the text in 'User Block' using 'ice' template in 'mg_theme', please?

  • You need first to open that block template to check the code: templates/mg_themes/blocks/user_block_block.tpl
  • The code you are looking for is: <span class="name">{U_NAME_LINK}</span>
  • The class is called NAME as you can see... so you have to look for this class in the CSS and change the properties.

 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
I'm using the Ice template, and I've opened style_ice.css in templates/mg_themes, but the only mention of the word NAME in it is 'post-name'.  I've tried changing the color: to #FFFFFF (which is the colour white), but it made no difference.  Does anyone know what is going wrong?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
Check the common.css style sheet.
 




____________
CivUnited
 
tonyf12Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
I can't find a common.css anywhere in the forum.  I can find a folder called 'Common' but it doesn't have an ice css file.  Can you clarify please?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
Hi tc1967uk.

At the "/templates/mg_themes " folder you may find 2 .css files:
common.css
FAP.css

and a .css file for each colour style (style_ice.css, style_gray.css,...)

for the apearance generation, Icy Phoenyx look first for common.css and then for the colour style you set (style_ice.css for you)

you may have the file common.css, anyway if you dont have it (i dont think so) you can create it with the following content

Code: [Download] [Hide] [Select]
.name {
    color: #FFFFFF;
}


It would change the color in all mg_themes, but if you insert this code in style_ice.css, it will be aplyed to the ice style (i hope)
 



 
xonioSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
I tried your suggestion in ice.css, xonio, but it didn't work.  

There is a FAP.css and a .css file for each colour style, but no common.css.  Is this a file from the latest update, as I still haven't applied the patch?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
Hello!  Anyone have any suggestions for this?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
I'm sure that it will work if done properly... and if can't get it to work, just remove the class and hardcode style in the tpl.

When creating and using CSS classes you should pay attention to CLASSES and their hierarchies, because some classes behavior may be linked to their parent containers.

The way to change text color in HTML using the STYLE attribute is:
Code: [Download] [Hide] [Select]
<span style="color:#888888;">TEXT</span>


Choose the way you think is the best for you.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
I finally found what I was doing wrong - I was missing the right version of style_ice.css because I hadn't upgraded to 1.1.0.15  

The code I needed in this was:

/* forum index */
.forumlink, .forumlink-new {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3em;
    color: #113355;

and just changed the colour.  This takes care of most of the title text in boxes such as 'Statistics' and 'Top Posters'.  However, boxes which have a title that is also a link need changing too.  I found the code for that:

a.forumlink, a.forumlink:visited {color: #113355; text-decoration: none; }

but changing this means that the colour of other links get changed too, and the the colour of the link is now too similar to the background colour, and makes the text hard to read.  

Can anyone suggest how to change the colour of the text in a header link (for an example, click on Home here in IP and scroll down to the bottom.  See the text/links in 'Statistics' / 'Birthdays' / 'Shoutbox), without changing the colour of the links in forum titles?
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
You need just to create an extra class and use it.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
Can someone tell me what code to insert please, and would it need to go in the style_ice.css file?  I need white for the text in the header-title link, and normal links to stay #113355 colour.

Thanks for the help so far folks.  
 



 
tc1967ukSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Text Colour 
 
Please don't take this as an offence, but I think you should first learn how CSS works and how to integrate them in HTML, otherwise you won't ever be able to solve this.

Try this:
http://www.w3schools.com/css/default.asp
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events