This topic has 11 replies, 3 voices, and was last updated 9 years, 5 months ago ago by Jack Richardson
Hi …
I have two issues :
first issue:
I want to translate the strings to arabic I managed to translate most of the site to arabic
but there is two strings that I can’t find their resources ..
I am using Loco plugin to translate, I also looked in the default.po provided by the theme but I couldn’t find them
1-
the string “Type here..”
2-
the string “Select Options”
please tell me where to find these strings !!
———————————————————-
second issue :
when I login as admin the site was RTL because I am using WP in arabic language ..
here I am logged in as admin
however I wanted to test the site, So I made a test account but when I logged in with the test account the site became LTR and som content messed up ..
is there a way to force the theme to be RTL always ??
sorry I should have mentioned
the string “select options” that need translation ..
is the one from the whishlist page !!
there is the same string on the products page but it’s translated fine …
Hello,
1. “Type here…” text is present in the file wp-content/themes/classico/woosearchform.php.
2. “Select options” text can be found in .po file of Wishlist plugin. You need translate it in wp-content/languages/plugins directory.
3. Please provide us with wp-admin panel credentials for admin and test account.
Thank you.
Regards,
Eva Kemp.
1- Thanks it works ..
2- I’ll try it once I get to my ftp client ..
3- see Private Content …
(BTW the site is always RTL except when I log-in with a customer account)
Thanks
Hello,
3. I’ve added this code in Global Custom CSS:
.woocommerce-account.logged-in .content {
direction: rtl;
}
Please check My Account page now.
Regards,
Eva Kemp.
that is awesome thanks …
every thing is working properly now ….
just two little questions…
-the mega menu is very big and go out of the screen in small screen/dimension
what CSS class/attribute should I change to make it less wide ???
-in the contact me page I am trying to remove Website input label
and the captcha-block ???
how do i do that ?? I can’t find the template in the theme folder
thanks again
Hello,
Sorry but I don’t see any issues with mega menu. Could you please show a screenshot?
Are you resizing browser window or checking on different devices?
If you’re resizing a browser then you need to reload a page.
To remove “Website” field from contact form you need edit the file wp-content/themes/classico/framework/shortcodes/contact_form.php (line 42) and remove the code
<div class="form-group">
<p class="form-name">
<label for="contact-website" class="control-label"><?php _e('Website', ET_DOMAIN) ?></label>
<input type="text" name="contact-website" class="form-control" id="contact-website">
</p>
</div>
To remove captcha you need comment or delete the code in the same file (line 16):
$captcha_instance = new ReallySimpleCaptcha();
$captcha_instance->bg = array( 190, 190, 190 );
$word = $captcha_instance->generate_random_word();
$prefix = mt_rand();
$img_name = $captcha_instance->generate_image( $prefix, $word );
$captcha_img = ET_BASE_URI . ET_CODE . 'tmp/' . $img_name;
and the file wp-content/themes/classico/framework/theme-functions.php (line 804) comment the code $captcha_instance = new ReallySimpleCaptcha();
Best regards,
Jack Richardson.
I tested the mega menu on a 1280*720 monitor …
and here is a screen shot after I resized the browser and refreshed the page …
Hello,
Please try to use this code in Global Custom CSS:
@media only screen and (min-width: 992px) {.menu .item-design-full-width .nav-sublist-dropdown ul > li {
float: right !important;
}}
Regards,
Eva Kemp.
Thanks I fixed it by adding this code
.menu .nav-sublist-dropdown {
right: -445px;
}
Hello,
We’re glad you’ve managed to resolve the issue.
Have a nice day.
Best regards,
Jack Richardson.
The issue related to '‘I need a "string" source + I need to make the theme RTL’' has been successfully resolved, and the topic is now closed for further responses