• i’m using Nisarg theme for my blog (RTL – Hebrew)
    Is there a simple way to align “post title” only to the left (post title is in English)

Viewing 6 replies - 1 through 6 (of 6 total)
  • You can add this, either to your child-theme’s style.css or to the customize -> CSS:

    h2.entry-title,
    h1.entry-title{
    text-align:left;
    }

    That should do the trick.

    Good luck.

    Lille Ulven

    Thread Starter Itzik Teboul

    (@itzikteb)

    Thanks – its partly work – i need that title will be LTR (Cause it is written in english) and the rest of the post will remain RTL

    In that case, change it a little bit to this:

    h2.entry-title,
    h1.entry-title{
    text-align:left;
    direction:ltr;
    }

    Good luck.

    Lille ULven

    Thread Starter Itzik Teboul

    (@itzikteb)

    Bingo !! work perfect.
    is there a way to do the same also in the “Recent post” widget ??

    To a degree yes.
    If you only want to get the titles of your posts to be left-aligned use this:

    #recent-posts-2 > ul > li{
    direction: ltr;
    text-align: left;
    }

    If you want the widget’s title “Recent posts” to be left aligned as well use this:

    #recent-posts-2 > ul > li
    , #recent-posts-2 > h4.widget-title {
    text-align: left;
    }

    should do the trick.

    Lille Ulven

    Thread Starter Itzik Teboul

    (@itzikteb)

    not working – nothing change !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Post Title align when using RTL’ is closed to new replies.