News Flash:
New Version of ShopClass theme 1.4.0 is Released on 13 JUNE 2018, Please upgrade your installation.

Support for RTL

Use this forum to get general help about the issues of osclass.A place to talk about anything related to Osclass in general. This is not the place to ask support questions.
Post Reply
QaisDroid
Noob
Posts: 2
Joined: Mon Aug 13, 2018 8:31 am

Support for RTL

Post by QaisDroid » Mon Aug 13, 2018 8:40 am

Hi,
anyone can help with making the theme in RTL format ?

thanks in advance,
Qais

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Support for RTL

Post by tuffadmin » Tue Aug 14, 2018 12:04 pm

Use this css https://gist.github.com/navjottomer/448 ... defcf3b1e1
Make sure it load later than main css
open tfc-script.php and add below code:

Code: Select all

<?php if (osc_current_user_locale()=='ar_SY') {?>
        <link href="<?php echo tf_theme_url( 'assets/css/bootstrap-rtl.min.css' ); ?>"
              rel="stylesheet" type="text/css"/>
        <?php } ?>
around line no. 52
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

QaisDroid
Noob
Posts: 2
Joined: Mon Aug 13, 2018 8:31 am

Re: Support for RTL

Post by QaisDroid » Wed Aug 15, 2018 4:53 am

thank you

Post Reply