This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

MB Themes

Minify your CSS & JS now with free osclass plugin
« on: February 14, 2018, 03:25:11 PM »
CSS and JS Minify Free Plugin
Free osclass plugin to reduce load time and number of request sent to your installation. As final result, only 2 files (css, js) with minimum size are created.

https://osclasspoint.com/osclass-plugins/backoffice/css-and-js-minify-free-plugin_i79


// there can be some issues, test on stage first ;)
« Last Edit: February 14, 2018, 03:28:21 PM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #1 on: January 31, 2019, 05:03:24 PM »
how is working with  ( if(veronika_is_rtl()) { ) what about rtl.css ?

*

MB Themes

Re: Minify your CSS & JS now with free osclass plugin
« Reply #2 on: January 31, 2019, 09:30:51 PM »
@galileopharma
good way would be define rtl via standard link attribute instead of doing it via enqueue function.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #3 on: February 01, 2019, 01:40:45 AM »
Can you explain the way for rtl.css please ?

*

MB Themes

Re: Minify your CSS & JS now with free osclass plugin
« Reply #4 on: February 01, 2019, 03:38:10 PM »
https://www.w3schools.com/tags/tag_link.asp

Code: [Select]
  <link rel="stylesheet" type="text/css" href="theme.css">
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #5 on: February 01, 2019, 04:36:19 PM »
but this way mean rtl.css run with arabic and english version
i want run rtl.css and responsive-rtl.css only with arabic version

*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #6 on: February 01, 2019, 04:39:45 PM »
can you write function Minified and run  rtl.css + responsive-rtl.css when veronika is rtl ?

*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #7 on: February 01, 2019, 05:05:15 PM »
?

*

MB Themes

Re: Minify your CSS & JS now with free osclass plugin
« Reply #8 on: February 04, 2019, 08:39:39 AM »
https://www.w3schools.com/tags/tag_link.asp

Code: [Select]
  <link rel="stylesheet" type="text/css" href="theme.css">


Code: [Select]
<?php if(veronika_is_rtl()) { ?>
  <link ... />
<?php ?>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #9 on: February 08, 2019, 02:20:31 PM »
still now rtl css file above minify generated css

Marked as best answer by frosticek on February 08, 2019, 08:36:44 PM
*

galileopharma

  • **
  • 18 posts
Re: Minify your CSS & JS now with free osclass plugin
« Reply #10 on: February 08, 2019, 02:29:11 PM »
i put file your code below this line
<?php osc_run_hook('header'); ?>

in head.php and solved