AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] How to increase editor height and change link color

5 Posts
4 Users
1 Reactions
2,422 Views
Posts: 23
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jatin)
Eminent Member
Joined: 5 years ago
[#17842]

Hi,

I have two questions:

1) Is there any way to set the default link color and underline it when someone posts a link in the topic replies or while creating a new topic someone just adds a link. Currently it looks like a text which when you hover over it then a hand symbol appears. Just by looking at it i cannot tell that a reply or topic or post includes a link.

2) The New topic or reply box area increase. Is there any way to show a bigger write area / text area by default when someone adds a new topic or replies.

 

Thank You.


4 Replies
Chris
Posts: 3610
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris)
Famed Member
Joined: 5 years ago

Hi @jatin,

Posted by: @jatin

1) Is there any way to set the default link color and underline it when someone posts a link in the topic replies or while creating a new topic someone just adds a link. Currently it looks like a text which when you hover over it then a hand symbol appears. Just by looking at it i cannot tell that a reply or topic or post includes a link.

Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, then reset your browser cache on forum front-end by pressing [CTRL] + [F5], if you're using Safari/Mac press [CMD] + [ALT] + [E]:

#wpforo #wpforo-wrap .wpforo-post-content a {
    color: #3F7796!important;
}
#wpforo #wpforo-wrap .wpforo-post-content a:hover {
    color: #0000DD!important;
    text-decoration:underline!important;
}

You can change the red marked HEX color codes using this color picker: https://imagecolorpicker.com/

 

Posted by: @jatin

2) The New topic or reply box area increase. Is there any way to show a bigger write area / text area by default when someone adds a new topic or replies.

You can try this solution: https://wpforo.com/community/postid/32630/


Posts: 23
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jatin)
Eminent Member
Joined: 5 years ago

Thanks, I have used the code to adjust the editor height which works fine when someone wants to reply to the post means the height is adjusting via the code but not affecting the new topic editor. But when someone creates the Post by clicking on New Topic the height is still short. How can it be increases as well ?


2 Replies
Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10733
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@jatin,

No way. The hook doesn't work for topic editors. We'll work on this and make it available in future releases.


Moderator
(@martin)
Joined: 10 years ago

Support Team
Posts: 1001
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@jatin,

There is no way to do this using the hook code. @robert is right, but you can do this using CSS code only for topic editors. Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, go to forum front-end and press Ctrl+F5:

#wpforo #wpforo-wrap.wpft-topic .wp-editor-container .mce-edit-area iframe {
    min-height: 220px;
}
#wpforo #wpforo-wrap.wpft-topic .mce-edit-area.mce-container.mce-panel.mce-stack-layout-item{
     min-height: 220px;
}

Share: