The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Move Header below C...
 
Notifications
Clear all

[Solved] Move Header below Comments

2 Posts
2 Users
0 Reactions
1,328 Views
Posts: 1
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
(@hellopleasehelp)
New Member
Joined: 3 years ago
[#4759]

I would like to have the comments ("wpd-comment-text" div) to show before the "wpd-comment-header" div.

I've seen the customisation info re: class.wpdiscuzzWalker.php and the layouts folders, etc. but am not very savvy and can't make it work easily or without spending hours trying to get my head around what's happening. E.g. I tried to move around the shortcodes in footer.html and header.html but that doesn't help and I can kind see why not in the class.wpdiscuzzWalker.php. But as I said, I don't know php and don't want to mess things up.


1 Reply
Asti
Posts: 8217
 Asti
Support
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
(@asti)
Illustrious Member
Joined: 8 years ago

You can use the CSS solution below if you can't customize the template files: 

#wpdcom .wpd-comment .wpd-comment-right {
   display: flex;
  flex-direction: column;
}
#wpdcom .wpd-comment .wpd-comment-header {
   order:2;
}
#wpdcom .wpd-comment-text{
   order: 1;
}
#wpdcom .wpd-comment-footer{
   order:3;
}

Put the code in the Top Admin Bar > Customize > Additional CSS > "Additional CSS" textarea, save it, delete all caches and check again.

BTW: the values of the order CSS property can be changed for each CSS rule. 


Share: