1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Change text alignment on multiple WordPress posts

Discussion in 'CSS' started by jmma2510, Apr 2, 2016.

  1. #1
    Hi there,

    I got more than 200 posts on a Wordpress website with justified text, I'd like to find a way to align them all to left alignment without having to edit one by one.

    Thanks in advance!
    SEMrush
     
    jmma2510, Apr 2, 2016 IP
    SEMrush
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Change the CSS for the container?
    It's been a while since I did anything with WP, but I'm assuming that somewhere in the database there is a set of rules on how to show a post - ie. a specific class to show either left-aligned or justified. Find what that class is named, and find out what the left-aligned class is, and replace it within the database?
     
    PoPSiCLe, Apr 3, 2016 IP
  3. jmma2510

    jmma2510 Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    I'll see what I can find, thanks!
     
    jmma2510, Apr 3, 2016 IP
  4. KangBroke

    KangBroke Notable Member

    Messages:
    1,025
    Likes Received:
    58
    Best Answers:
    4
    Trophy Points:
    215
    #4
    Why dont you just post the URL, it may be something simple and save you some time.
     
    KangBroke, Apr 5, 2016 IP