Automatically center post subheadings

Home Forums FitClub Free Automatically center post subheadings

This topic contains 4 replies, has 4 voices, and was last updated by  davidjonesau62 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #1339269


    So I have run into a problem when trying to center every subheading of my posts. So, above every subheading I have added a horizontal line element (hr) and I want my subheadings to center based on this horizontal line and not my whole page, so text-align: center won’t work. The problem I have come across when trying to center post subheadings is the width changing baed on the device. So if I try to center it manually on the desktop version by adding spaces, it isn’t center on the mobile version. So what I would like to know is if you can help me with this. If not, you can inform me about:
    1. How the hr element scales based on device’s width? Is there a way to predict the width of the horizontal line based on @media-width?
    2. How every subheading type (h1,h2,h3…) scales based on device’s width?



    I found a solution myself, was too stupid to notice. Thanks anyways.



    Hello, @stavroswtf

    That’s great you found the solution yourself. If you get any issue later, feel free to ask again! Also, if you like our theme, we would really appreciate if you could provide us a review here:

    ThemeGrill Support Team.



    Thanks for sharing apk files .I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.Great websites!
    [url=]share it[/url]
    [url=]shareit download[/url]
    [url=]download shareit[/url]
    [url=]shareit apk[/url]
    [url=]shareit downloading[/url]



    Om Hotmail-account problemen zoals gehackte records, verloren geheim woord, ongewenste berichten enzovoort te bepalen, belt u onze Hotmail Klantenservice Nederland. We hebben een beste mastergroep voor Hotmail-ondersteuning sad ministraties aangeschaft om gespecialiseerde storingen te begrijpen. Wij zijn een autonome buitenstaandersvereniging die Hotmail-client bolswinst dwars op Nederland biedt. Telkens wanneer u het hotline-nummer van onze Hotmail-client voordeel kunt bellen en met specialisten kunt praten.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.