Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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?

    #435972

    Hey 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,
    Ismael

    #435980

    Hi,

    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?

    #436589

    Hi!

    Works fine on our installation. Please post the login details here and set it as a private reply.

    Regards,
    Ismael

    #437520

    I 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’);

    #437940

    Hey!

    Please post the login details here. Did you replace the line of code or did you just copy the new code?

    Best regards,
    Ismael

    #437954

    I can’t replace it on the child theme – I just copied it to the functions.php file of the child theme.

    #437969

    Hey!

    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,
    Ismael

    #437973

    The functions.php file on the child theme is blank – you can only add code to it and not replace anything…

    #437978

    I 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘rtl footer’ is closed to new replies.