Mongoid

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Tempera Theme CSS for H1 H2 H3 #103853
    Mongoid
    Participant

    If I don’t use the span qualifier, the entire element is affected across the page.

    I realize now, by removing the span tag , I was trying to apply CSS to a block element and it was behaving as it should by formatting the entire width of the page. I got the look I wanted by using an HTML block instead of the H2 blocks in the WP Block editor. I could not figure out how to isolate the Block text for formatting. I am not a professional, just trying to help out a friend. I would take any of my advice lightly in regards to WP. Just passing on what I did.

    in reply to: Tempera Theme CSS for H1 H2 H3 #103819
    Mongoid
    Participant

    When using inspector I notice these differences.
    On the old page the element is:

    <div class=”entry-content”> == $0
    <h2 class=”topheader” style=”text-align: center;”>
    <span>Backhoe Services</span>
    </h2>

    On the new page it is:

    <div class=”entry-content”>
    <h2 class=”has-text-align-center”>Backhoe Services</h2> ==$0

    Is this a result of me using the block editor where the old one had not?

    Will there still be a way to accomplish the desired formatting in this case?

    Thanks again folks

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