Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #724023

    Hi.
    I installed Enfold on Persian WordPress (RTL), but in mobile view my sidebar is on the left. all the words and titles. I tried adding this to my custom CSS but it didn’t work:

    @media only screen and (max-width: 990px) and (min-width: 481px)
    .sidebar.smartphones_sidebar_active {
    text-align: right;
    }

    and also this:

    @media only screen and (max-width: 767px)
    .responsive #top #main .sidebar.smartphones_sidebar_active {
    text-align: right;
    }

    I would appreciate it if you could help.

    #724909

    Hey esliran,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    @media only screen and (max-width: 768px) {
    .responsive #top.rtl #main .sidebar.smartphones_sidebar_active {
        text-align: right;
    }}
    

    Best regards,
    Yigit

    #724917

    great, did the job.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘rtl problem for sidebar widget’ is closed to new replies.