Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter krsna18

    (@krsna18)

    Thread Starter krsna18

    (@krsna18)

    Thanks Joy for the suggestion. This is what I had done for now, i.e.
    .post-content > p {
    text-align: left;
    }

    However, I also have <p align=”center”> and sometimes <p align=”right”> in my HTML file. My code looks like this

    <div class="main-container">
    	<article id="page-205" class="post-205 page type-page status-publish hentry">
    		<header class="post-header">
    		<h1 class="page-title">Title</h1>	</header>
    			<div class="post-content">
    <h2 align="center">Title</h2>
    <p align="center">By</p>
    <h3 align="center">Author</a>
    <p align="left"><i>These twenty ...</i></p>
    <p align="center"><b>1. Instruction</b></p>
    <p align="left">Text.</p>
    <p align="center"><b>2. Method</b></p>
    <p align="left">Text.</p>
    ....

    The different alignments are residing within the same post-content class. I shall talk to the author.

    Thread Starter krsna18

    (@krsna18)

    Thank you for the suggestion. I presume I will have to do this by modifying my HTML file? I have a large number of files that I would rather not reformat. Is there any other way of doing this without having to touch my HTML?

Viewing 3 replies - 1 through 3 (of 3 total)