The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Coloured title threads

3 posters

Go down

In progress Coloured title threads

Post by Guardian-Angel July 24th 2016, 9:51 pm

Hello

Further to the help I received Solved topic coloured threads I now have another question.

This helped me to change the colour of a title and to remain that colour on the main page as well as when using View New Posts.

I now have another Forum with a topic in that Forum that I would like to change the colour.

The code in that link won't work for the new Forum. I apologize I'm not that good with codes.

Can someone advise how I can change the colour of another Forum/Topic leaving the original Forum alone.

TYIA
Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by SLGray July 24th 2016, 10:00 pm

Well, did you give the new forum a new class?  It can not be forumcolor1.


Last edited by SLGray on July 24th 2016, 10:41 pm; edited 2 times in total


Coloured title threads  Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Coloured title threads

Post by Ace July 24th 2016, 10:23 pm

Hi,

Do you want to change the color from the topic's title? Or the forum itself? Topics won't work using the previous code. If you want to colorize the topic titles, there's a function within the Admin CP that will do the trick. You may find it in General >> Messages, MP and E-mails >> Config >> Colorize topic titles (the pathway should be something like that, I don't remember all the names by heart though). This option should enable you to color the topic titles.

If you want to change the forum's color, you just need to do what they already taught you in the previous topic (also remembering SLGray's tip that you must create another CSS class if you want a different color). Smile

Regards.
Ace
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

In progress Re: Coloured title threads

Post by Guardian-Angel July 25th 2016, 6:43 pm

This is my original one which worked perfectly.

Code:
<span class="forumcolor1">Forum Title</span>

Code:
.forumcolor1 {
color: red; /* change the red to any color you want */
}

This is the second one, which messes up the first one. It shows colour when looking at the home page, when going into the topic the threads are coloured, but when choosing view new posts it shows up as per s/cap below. Where as before when choosing view new posts, they remained coloured all the time.

Code:
.forumcolor2 {
color: blue; /* change the red to any color you want */
}

First one
Coloured title threads  Captur17

Second one
Coloured title threads  Captur18



Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by SLGray July 25th 2016, 8:28 pm

Where is the span class for the second code?


Coloured title threads  Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Coloured title threads

Post by Guardian-Angel July 25th 2016, 9:09 pm

Code:
<span class="forumcolor2">Behind The Scenes - Moderator Group</span>
Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by SLGray July 25th 2016, 9:15 pm

See if clearing your browser's cache helps?


Coloured title threads  Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Coloured title threads

Post by Guardian-Angel July 25th 2016, 9:38 pm

It didn't help. I removed it all, and did it over again, still the same.
Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by Ace July 26th 2016, 12:45 am

Hi,

Can you post the links where your problem is located at?
Ace
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

In progress Re: Coloured title threads

Post by Guardian-Angel July 26th 2016, 1:56 am

http://www.bachandbachettefans.net/search?search_id=newposts

I will post test in each of those threads. When you get there, choose "view new posts"

Let me know when you want me to do that.

ETA: unless that page already takes you to my latest view new posts, you can see the two threads that are coloured in the sub description but not the title. If you go into those threads you will see they are coloured.
Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by Ace July 26th 2016, 3:28 am

Hi,

For me, they aren't coloured at all:

Coloured title threads  DGHtCfp

Is this the right category? If not, just go ahead and post us these 'tests'. Smile

Regards!
Ace
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

In progress Re: Coloured title threads

Post by Guardian-Angel July 26th 2016, 3:46 am

Go look now if you can. You won't see the blue thread, it's hidden.

You will see the red one.
Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by Ace July 26th 2016, 3:51 am

Hmm, so what you're trying to say is that this part here:

Coloured title threads  GaSh1IH

Should be red and it isn't, right?
Ace
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

In progress Re: Coloured title threads

Post by Guardian-Angel July 26th 2016, 3:57 am

I'm saying when you "view new posts" the title is not red.

Your screen shot is not view new posts.

When looking at the main forum, this is what you see.

Coloured title threads  Captur34

When you view new posts, it changes to this.

Coloured title threads  Captur33




Last edited by Guardian-Angel on July 26th 2016, 4:12 am; edited 1 time in total
Guardian-Angel
Guardian-Angel
Forumember

Posts : 754
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

In progress Re: Coloured title threads

Post by Ace July 26th 2016, 4:10 am

Oh, okay. Finally got it. Razz

New posts are, regardless of the topic's original color, set to get the colors set by you on the Admin CP to be the default in the forum. There's a way to do this in JS, although it's a bit tricky because it involves getting numerous elements throughout the page and I can't personally help you in this matter. Maybe Ange Tuteur can assemble you this code. Smile
Ace
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum