• Resolved EbertJoris

    (@ebertjoris)


    First of all, Polylang is a great plugin!
    Gave me some hard time and headache’s but still good plugin if you know how to work with wordpress.

    Let’s come to the point, I’ve made my own a theme with some css. When I installed polylang it worked great and I added subdomain option. But at this moment when I go to the english version and click on a post, it will look crappy because it’s not taking the css seriously.. It download’s my css, it has all the classes in the html structure but it looks like it just doesn’t accept my styling? But when you look to the dutch version of the website and go to a post, it does look correctly. Here is example of the problem:

    Correct view in dutch: http://g-custom.be/this-is-my-fifth-post/
    Wrong view in english: http://en.g-custom.be/this-is-my-fifth-post-5/

    the en.g-custom.be is using a pointer to the root folder of wordpress. (which is my first tought of the problem but links looks correctly when opening in en.)

    To choose language you can see the flags of polylang at the bottom.

    Already a big thanks ahead for support.

Viewing 1 replies (of 1 total)
  • Thread Starter EbertJoris

    (@ebertjoris)

    Okay, I have managed to solve this problem on my own. When I watched further in the html structure the template gave out if you visited a post it would have some div’s which weren’t coded in the template on a single post view page. So I was looking in further to this and saw that when I created a post in the “text” field it had div’s placed in there. I don’t know how this happend with the english posts. Has this come trough copy pasting it in? Did polylang do it on he’s own? So that was the solution, deleting the div’s and the
    pre’s at the start and end of all those posts in the text format.

Viewing 1 replies (of 1 total)

The topic ‘Polylang gives a problem with css on subdomain.’ is closed to new replies.