RTL support
-
Hi,
i have problem in css with the pluning.
you can see
i have add:
<html dir="rtl" lang="ar-AR">the langage of arbic is with function so i must keep my admin langage in french.
function lang_theme_setup() { load_theme_textdomain('dazzling', get_template_directory() . '/languages'); } function change_locale(){ return 'ar_AR'; } add_action('after_setup_theme', 'lang_theme_setup'); add_filter( 'locale', 'change_locale' ); load_textdomain('dazzling', get_template_directory().'/languages/ar_AR.mo'); load_default_textdomain(); function dazzling_setup() { /* * Make theme available for translation. * Translations can be filed in the /languages/ directory. * If you're building a theme based on Dazzling, use a find and replace * to change 'dazzling' to the name of your theme in all the template files */ /*load_theme_textdomain( 'dazzling', get_template_directory() . '/languages' );*/ add_action('after_setup_theme', 'lang_theme_setup'); add_filter( 'locale', 'change_locale' ); load_textdomain('dazzling', get_template_directory().'/languages/ar_AR.mo'); load_default_textdomain();i have add also css
#wpcomm .wc-comment-footer{ text-align: left; } #wpcomm .wc-comment-text{ text-align: right !important; } #wpcomm .wc-reply { margin-bottom: 0; margin-left: 0px!important; margin-right: 40px!important; margin-top: 10px; } #wpcomm .wc_comment_level-3{margin-left: 0px!important; margin-right:40px!important;} #wpcomm .wc_comment_level-4{margin-left: 0px!important; margin-right:40px!important;} #wpcomm .wc_comment_level-5{margin-left: 0px!important; margin-right:40px!important;}Hi
Please go to Dashboard > wpDiscuz > Background & Colors Tab and try to put this code in “Custom CSS Code” textarea:#wpcomm .wc-field-comment .wc-field-textarea{margin-left:2px;margin-right:65px}#wpcomm .wc-form-wrapper .avatar{margin-top:0}#wpcomm .wc-field-comment .wc-field-avatararea{float:right}#wpcomm .wc-field-submit{float:left}#wpcomm .wc-field-captcha{float:right}#wpcomm .wc_notification_checkboxes{text-align:right}#wpcomm .wc-comment .wc-comment-right{margin-left:0;margin-right:70px}#wpcomm .wc-comment-author{float:right}#wpcomm .wc-comment-date{float:left}#wpcomm .wc-comment-footer .wc-vote-result{margin-right:0;margin-left:5px}#wpcomm .wc-toggle{float:left}#wpcomm .wc-comment-footer{text-align: left;}#wpcomm .wc-comment-text{text-align: right !important;}thanks gVectors Team,
i have probelem this langage so tha effect in the pluing.
Now i fixed 80% tha probelm of langage anf he work for me the css of pluing
thanks again
but i want to remove the link href of the author
so i want to use only the nickname without the link ?Ok, read this post: https://wordpress.org/support/topic/link-author?replies=2#post-7483113
Hi ! I’m wondering if it’s possible to style the wc comment level 2, i would like to choose the font-style and the font size for this, i tried with #wpcomm .wc_comment_level-2 but no results…
It’s okay i found the solution ! But I’d like to know if there is a way to reverse the toggle function, can it be hiding by default and then when you click it shows comments level 2 ?
Hi mainpleine,
There is not such an option yet. We’ll add it next month, it’ll show the number of replies, like this – Show Replies (15)Thank you ! Great plugin by the way ^^
The topic ‘RTL support’ is closed to new replies.