I'm having trouble with layout for one section of a page I'm working on. There are two issues that I'm pretty sure are very closely related. This is a custom page that will also be converted to a Wordpress theme when it's finished.
The first issue is that I can't seem to get the text to wrap around the image at the start of the div. It almost works when I set flex-direction: row on the container, but then each paragraph of the text shows as an individual column.
The second issue is that I can't get the second block of text (.about-phoenix) to show to the right of the first block (.about-amber) without setting the container to flex-direction: row.
Here's the relevant CSS:
/* About Us settings */
.about {
display: flex;
flex-direction: row;
align-items: flex-start; /* Align items at the top */
padding: 10px;
margin: 10px;
border-radius: 10px;
min-height: 100vh;
}
.about-text-row {
display: flex;
flex-direction: row;
gap: 30px;
width: 100%;
}
.about-image {
width: 150px;
height: 150px;
border: 1px ridge indigo;
border-radius: 50%;
margin-right: 20px;
flex-shrink: 0;
}
.about-amber {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 48%;
padding: 20px;
margin: 10px 0;
box-sizing: border-box;
}
.about-amber-text {
flex: 1 1 0;
}
.about-phoenix {
width: 48%;
padding: 20px;
margin: 10px 0;
box-sizing: border-box;
}
.about h3 {
font-weight: 300;
color: indigo;
margin-bottom: 20px;
}
Here's the relevant HTML:
<section id="about" class="about section">
<div class="about-content">
<div class="about-amber">
<img class="about-image" src="http://localhost/plmassage/wp-content/uploads/2025/06/amber-75x75-1.jpg" alt="A photo of Kristle Amber Riddle" class="alignleft about-image">
<h3>A message from Amber:</h3>
<p>First of all, I deeply appreciate this opportunity to introduce myself to you! </p>
<p>Although I was drawn to massage and energy work as a child and have studied it since the ‘90s, I felt teaching was the right profession at the time. I attended WCU as a North Carolina Teaching Fellow, where I majored in literature and education. For the following 25 years, I taught English in public schools in WNC, which included teaching print and broadcast journalism in the same high school where I graduated.</p>
<p>After retiring from teaching, I studied clinical massage and got my NCLMBT license in 2019. I have had considerable experience and training in various modalities including hot and cold stones, manual and machine cupping, oncology massage, Breema, Access Bars, and energy work. I am eager to continue learning, and I look forward to meeting you all and addressing your needs on the massage table and in my portable chair!</p>
<p>My passions include bodywork, education. reading, writing, and editing. In my free time, I love to play games with my nephew, hang out with my family and friends, and practice playing the guitar. I seek to learn something new and positive every day, which includes relearning some of what I've forgotten if it's important. I also like snuggling with my cats if they will allow It, lol.</p>
</p>
<p>NCLMBT #18576</p>
</div>
<div class="about-phoenix">
<p>The phoenix is a mythical bird that symbolizes renewal and rebirth. In many cultures, it is believed that the phoenix rises from its own ashes, representing the idea of transformation and new beginnings.</p>
<p>It appears in various mythologies, including Greek, Egyptian, and Chinese, often associated with the sun and immortality. The phoenix is a powerful symbol of resilience, strength, and the ability to overcome challenges.</p>
<p>In the context of massage therapy, the phoenix can represent the healing and transformative power of touch. Just as the phoenix rises from the ashes, a massage can help individuals rise above stress, tension, and pain, leaving them feeling rejuvenated and renewed.</p>
<p>At Phoenix Landing Massage, we embody this spirit of renewal and transformation. Our goal is to provide a healing experience that allows you to let go of the burdens of daily life and emerge feeling refreshed and revitalized.</p>
<p>Whether you are seeking relaxation, relief from pain, or a moment of tranquility, our massage services are designed to help you rise above and embrace a new sense of well-being.
<p>The phoenix is a symbol of renewal and rebirth, which is what I hope to bring to my clients through massage therapy. Just as the phoenix rises from the ashes, I aim to help you rise above stress and tension, leaving you feeling rejuvenated and ready to take on the world.</p>
</div>
</div>
</section>
The first issue is that I can't seem to get the text to wrap around the image at the start of the div. It almost works when I set flex-direction: row on the container, but then each paragraph of the text shows as an individual column.
The second issue is that I can't get the second block of text (.about-phoenix) to show to the right of the first block (.about-amber) without setting the container to flex-direction: row.
Here's the relevant CSS:
/* About Us settings */
.about {
display: flex;
flex-direction: row;
align-items: flex-start; /* Align items at the top */
padding: 10px;
margin: 10px;
border-radius: 10px;
min-height: 100vh;
}
.about-text-row {
display: flex;
flex-direction: row;
gap: 30px;
width: 100%;
}
.about-image {
width: 150px;
height: 150px;
border: 1px ridge indigo;
border-radius: 50%;
margin-right: 20px;
flex-shrink: 0;
}
.about-amber {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 48%;
padding: 20px;
margin: 10px 0;
box-sizing: border-box;
}
.about-amber-text {
flex: 1 1 0;
}
.about-phoenix {
width: 48%;
padding: 20px;
margin: 10px 0;
box-sizing: border-box;
}
.about h3 {
font-weight: 300;
color: indigo;
margin-bottom: 20px;
}
Here's the relevant HTML:
<section id="about" class="about section">
<div class="about-content">
<div class="about-amber">
<img class="about-image" src="http://localhost/plmassage/wp-content/uploads/2025/06/amber-75x75-1.jpg" alt="A photo of Kristle Amber Riddle" class="alignleft about-image">
<h3>A message from Amber:</h3>
<p>First of all, I deeply appreciate this opportunity to introduce myself to you! </p>
<p>Although I was drawn to massage and energy work as a child and have studied it since the ‘90s, I felt teaching was the right profession at the time. I attended WCU as a North Carolina Teaching Fellow, where I majored in literature and education. For the following 25 years, I taught English in public schools in WNC, which included teaching print and broadcast journalism in the same high school where I graduated.</p>
<p>After retiring from teaching, I studied clinical massage and got my NCLMBT license in 2019. I have had considerable experience and training in various modalities including hot and cold stones, manual and machine cupping, oncology massage, Breema, Access Bars, and energy work. I am eager to continue learning, and I look forward to meeting you all and addressing your needs on the massage table and in my portable chair!</p>
<p>My passions include bodywork, education. reading, writing, and editing. In my free time, I love to play games with my nephew, hang out with my family and friends, and practice playing the guitar. I seek to learn something new and positive every day, which includes relearning some of what I've forgotten if it's important. I also like snuggling with my cats if they will allow It, lol.</p>
</p>
<p>NCLMBT #18576</p>
</div>
<div class="about-phoenix">
<p>The phoenix is a mythical bird that symbolizes renewal and rebirth. In many cultures, it is believed that the phoenix rises from its own ashes, representing the idea of transformation and new beginnings.</p>
<p>It appears in various mythologies, including Greek, Egyptian, and Chinese, often associated with the sun and immortality. The phoenix is a powerful symbol of resilience, strength, and the ability to overcome challenges.</p>
<p>In the context of massage therapy, the phoenix can represent the healing and transformative power of touch. Just as the phoenix rises from the ashes, a massage can help individuals rise above stress, tension, and pain, leaving them feeling rejuvenated and renewed.</p>
<p>At Phoenix Landing Massage, we embody this spirit of renewal and transformation. Our goal is to provide a healing experience that allows you to let go of the burdens of daily life and emerge feeling refreshed and revitalized.</p>
<p>Whether you are seeking relaxation, relief from pain, or a moment of tranquility, our massage services are designed to help you rise above and embrace a new sense of well-being.
<p>The phoenix is a symbol of renewal and rebirth, which is what I hope to bring to my clients through massage therapy. Just as the phoenix rises from the ashes, I aim to help you rise above stress and tension, leaving you feeling rejuvenated and ready to take on the world.</p>
</div>
</div>
</section>