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

[Solved] The class('wpf-thread-head') element does not exist.

8 Posts
3 Users
0 Reactions
1,488 Views
tayo
Posts: 42
 tayo
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
(@tayo)
Trusted Member
Joined: 6 years ago
[#23460]

I chose the class('wpf-thread-head') element of the title to apply the css. but,
There is the class('wpf-thread-head') on the forum page with categories, but there is no the class('wpf-thread-head') on the single forum page without categories. I added an image so you can see it right away.
If possible, could you add this class and html?

Thank you.

a class element not

7 Replies
tayo
Posts: 42
 tayo
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
(@tayo)
Trusted Member
Joined: 6 years ago

Here's an image to compare my questions.

 a class element

Chris
Posts: 3609
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 @tayo,

Let's try managing the CSS and see can we affect on the needed HTML without adding a new HTML class. Please provide your CSS code.


tayo
Posts: 42
 tayo
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
(@tayo)
Trusted Member
Joined: 6 years ago

The css I want is very simple. I want the background, but I can't make it like the attached image because there is no div element. Applying background only to a link is not what I want. I want to apply the same box as the div element . Also, only the title applies, not the "wpf-thread-author-name".

 i want this cssdiv

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

Support Team
Posts: 10752
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

@tayo,

Use this css selector instead of the wpf-thread-had

#wpforo #wpforo-wrap .wpfl-4 .wpf-thread-box.wpf-thread-title {
  .....
}

tayo
 tayo
(@tayo)
Joined: 6 years ago

Trusted Member
Posts: 42
tayo
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

@robert 

No, that's not what I want. The selection you suggested applies to the whole thread. I don't want the whole thread, I want it to be applied only to the title except author, date, and tag. Please see the yellow background of my image attached to the previous answer.


Robert
Admin
(@robert)
Joined: 3 months ago

Support Team
Posts: 10752
Robert
tayo
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

@tayo,

No, that's not what you think. It only affects the title section. Please test it before replying.


tayo
Posts: 42
 tayo
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
(@tayo)
Trusted Member
Joined: 6 years ago

I solved my problem by editing and adding a layout to my theme. Thank you for your reply. 😀


Share: