-
AuthorPosts
-
April 27, 2015 at 12:36 pm #435177
Hi,
I use enfold on a rtl website.
There’s a problem with the columns on mobile/responsive mode.
The very left column should be last but it’s first and the very right column should be first but it’s last.
I found a solution for the main content here: https://kriesi.at/support/topic/rtl-sortedreverse-functions-problem/#post-384172
But this doesn’t fix the problem on the footer:
On mobile the footer columns still show in reverse – the very right should be first and it’s last and the very left column should be last and it’s first.
How can I fix this?
April 28, 2015 at 12:48 pm #435972Hey sasha!
Thank you for using Enfold.
Look for this code:
var rtlContainer = $('.entry-content-wrapper');
Replace it with:
var rtlContainer = $('.entry-content-wrapper, #footer .container');
Best regards,
IsmaelApril 28, 2015 at 1:02 pm #435980Hi,
I’m using a child theme. I copied the code:
var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
into functions.php and it makes the all site to stop working.
Am I doing something wrong?
April 29, 2015 at 11:23 am #436589Hi!
Works fine on our installation. Please post the login details here and set it as a private reply.
Regards,
IsmaelApril 30, 2015 at 3:35 pm #437520I tried again and it makes the website disappear.
As I mentioned – I’m using a child theme – maybe it should be done differently some how – other way to paste the code on the funcions.php file?
var rtlContainer = $(‘.entry-content-wrapper, #footer .container’);
May 1, 2015 at 9:45 am #437940Hey!
Please post the login details here. Did you replace the line of code or did you just copy the new code?
Best regards,
IsmaelMay 1, 2015 at 10:28 am #437954I can’t replace it on the child theme – I just copied it to the functions.php file of the child theme.
May 1, 2015 at 11:36 am #437969Hey!
I’m sorry but I’m not exactly sure if I understand you. How can you not REPLACE the code if you can ADD it in the child theme’s functions.php? Please remove the entire code mod in the functions.php file then copy this one: http://pastebin.com/Q9SxDUec
If you’re not comfortable handing in the login credentials, please hire a freelance developer to fix the rtl issues.
Best regards,
IsmaelMay 1, 2015 at 11:50 am #437973The functions.php file on the child theme is blank – you can only add code to it and not replace anything…
May 1, 2015 at 12:03 pm #437978I removed the first fix (https://kriesi.at/support/topic/rtl-sortedreverse-functions-problem/#post-384172) and pasted the code from here: http://pastebin.com/Q9SxDUec and now it works great.
Thanks
-
AuthorPosts
- The topic ‘rtl footer’ is closed to new replies.