e107help.org Q&A
0 like 0 dislike
Hi folks,

i'm trying to change the text and button colour in the forums when you create a new topic from "create a new topic" to something else and I can't for the life of me find out where it is to change it. Anyone else help me here?

The closest i got was in line 46 of forum_post_template.php where it has
<div class='form-group text-center'>
                                        {FORUM_POST_BUTTONS}
                                    </div>

Any help would be appreciated.
e107 version 2.1.7
asked in Plugins by (9 points) 1 3

1 Answer

0 like 0 dislike
Best answer

Well text origins from lang file English_front (or any other language). 
It is also a shortcode under ....forum/shortcodes/catch/post_shortcodes (LAN_FORUM_2005) + view_shortcodes
Also in Forum icons template  

LAN_FORUM_2005 ((that is the one you have to work around) is a define which represents the textual part you see.
Where it is used , you have to look around the surrounding code..

Styling of button  would be something like(css bootstrap) btn btn-primary.. (the overall. button/box/img)

Since it also may depends on the theme you use, it can be a little nifty to apply any change.
As it looks like you only would like to change 1 related thing, it might be more difficult...
I would advice you to (any browser would be capable) RIGHT click ON the button, and select INSPECT (-or).
This should give you enough information normally what is used and which files.
.


Should you make any change backup before, and if you hardcode change the forum, use your own set, bundled (aka copy) the forum into your theme folder/temp...

answered by (2.7k points) 5 8 18
selected by
Many thanks! that's exactly what I was looking for!
Managed to find the text and change it in seconds.

The Css is the easy bit hehe.

thanks again!
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
736 questions
1,144 answers
1,935 comments
1,061 users