Text Alignment Post Template Style 13

Posted in: Newspaper
Post count: 83

Hi,

Is there a way to have the subtitle text centred as opposed to left aligned in post template style 13?

Thanks

Kevin

Post count: 23312

Hello Kevin,

If you want to align the title to the left side, please try the code below and place it in Theme panel->Custom CSS area.

.td-post-template-13 .td-post-header .entry-title {
text-align: left;
}

The result is here -> http://screencast.com/t/4SHxNRhUL

Thanks.

Post count: 83

Hi Catalin,

I think you misunderstand me, it is the subtitle text I need to be center aligned.

When using post template style 13 as standard it is left aligned and the header is center aligned which seems a bit odd.

I need both the heading and subtitle to be centered.

I hope that clears up the confusion 🙂

Kevin

Post count: 23312

Hello Kevin,

Please try the code below.

.td-post-template-13 h2 {
text-align: center;
}

The result -> http://screencast.com/t/v1oPL9qmL

If you refer to something else, provide more details.

Thanks.

Post count: 83

🙂

Hello again,

Sorry it’s the ‘subtitle’ not the h2 headings.

I have attached image for clarity:

Subtitle

Hope this helps

Regards

Kevin

Post count: 83
Post count: 23312

Hello Kevin,

Please try the code below.

.td-post-sub-title {
text-align: center;
}

The result -> http://screencast.com/t/mCoSUGpl

Sorry for my bad understanding!

Post count: 83

Hi Catalin,

I think I fixed it by modifying the first css code you gave me from:

.td-post-template-13 .td-post-header .entry-title {
text-align: left;
}

To this:

.td-post-template-13 .td-post-sub-title {
text-align: center;
}

Is this correct?

Thanks

Kevin

Post count: 83

Thanks Catalin it worked perfectly 🙂

Post count: 23312

Hello Kevin,

Yes, it’s correct. I am glad that I could help you.

Thanks.

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.