WordPress.org

Forums

Polylang
Polylang and Pagelines (5 posts)

  1. bluebird2
    Member
    Posted 2 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:
    http://alefba.us/polylangtest/ar/
    What could be reason and how could it be fixed?

    http://wordpress.org/extend/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 2 years ago #

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

  3. bluebird2
    Member
    Posted 2 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
    Member
    Plugin Author

    Posted 2 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:
    home_url('/?pageless=1344489160')

    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
    Member
    Posted 2 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

Tags