Polylang and Pagelines (5 posts)

  1. bluebird2
    Posted 3 years ago #

    When I use Polylang on TwntyEleven theme I have no problem but when I use it on Pagelines theme the pages in the main language (en) do not get the style from the CSS file. Here is a link to the site:
    What could be reason and how could it be fixed?


  2. Chouby
    Plugin Author

    Posted 3 years ago #

    Are there other css files than the style.css file in your theme ?

  3. bluebird2
    Posted 3 years ago #

    Yes. There is "rtl.css" that supposedly should work when the language is RTL. By the way I noticed it does not work on regular TwentyEleven theme either. So it should not be theme-related.

  4. Chouby
    Plugin Author

    Posted 3 years ago #

    Are you sure the text direction is correctly set for Arabic ? Edit the Arabic language, check rtl and resave.

    Digging in your html code, I found that the theme has another stylesheet http://alefba.us/polylangtest/en/?pageless=1344489160

    The url is badly formed : http://alefba.us/polylangtest/?pageless=1344489160 is expected

    It is possible that somewhere in your theme code, something like:
    home_url('/') . '?pageless=1344489160'
    should be replaced by:

    However, it is curious that it works on the Arabic page... (where the url is badly formed too with /ar/ instead od /en/).

  5. yousefvand
    Posted 3 years ago #

    solved. update made the same problem. This is the fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic