• Resolved kjoonh

    (@kjoonh)


    I also wonder how to align text in three of featured pages.
    Basically, such alignment of contents are on center but I want to change left-side alignment..
    How can I handle this?
    Thanks all!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You need to find a CSS selector that is unique to those pages. Depending on your theme, these are usually assigned automatically by WordPress, and are usually specified in the body tag. Look for a class that is similar to page-id-123 in your body tag and then you can target it by adding this to your CSS:

    .page-id-123  {
         text-align: left;
    }

    *where 123 is the number of your page

    Hope this helps, if not, please provide links so I can take a look.

    Thread Starter kjoonh

    (@kjoonh)

    https://kjoonh.kimsq.co.kr/
    This is my page and I want to align following contents, “Prof. Grünberg received a Novel prize on 2007 for his contribution to Giant Magnetoresistance (GMR) effect, which was a basic principle led to hard disk and spintronics devices.” to the left side…
    I just checked and I gained page id 246…
    But it doesn’t change…..

    Well, i guess css can’t help you here. I see these are widgets, so you should edit the widgets from WP dashboard. Just swap the content of first and third.

    If you’re talking about the text shown below the three featured circles, then adding the following to the Custom CSS panel of Customiz’it! or a child theme should do it:

    .marketing p {
        text-align: left;
    }

    Thread Starter kjoonh

    (@kjoonh)

    It’s Perfect!!
    Thanks a lot ElectricFeet!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Additional question for alignment of text in featured page~’ is closed to new replies.