Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1334865

    How do I make the text aligned vertically?

    If I have 2 1/2 content element in a color section, with 1 with an image on left and text element on right. I can make the text center aligned but how can I make it vertically aligned with the image on the left? Thank you!

    #1334866

    Hey kazumakitajima,
    Do you mean the element with the heading “MAKING FRIENDS WITH FOOD”?
    If so that text element has an empty paragraph tag that has padding and margin that is pushing your text down:
    2022-01-09_003.jpg
    and the title which is a H4 heading has top margin pushing the content down:
    2022-01-09_004.jpg
    so in this case the solution would be:

    #top.home #av-layout-grid-1 > div > div > div > section > div > p:nth-child(1) {
    	display: none;
    }
    #top.home #av-layout-grid-1 > div > div > div > section > div > h4 {
    	margin-top: 0;
    }

    If this is not what you meant then please link to an example page.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.