@Lemirq
Posted
Hello Ahmet, Great Solution!
To answer your question, the .subsection--2 .sub-container
is already aligning to the left side. The issue is that the description is taking the entire space that is there, giving the illusion that it is centered. You can add a max-width
property to .subsection--2 .sub-container
to restrict the amount of space it uses. If you wanted to align the subtitles of those to the left, try removing margin-inline: auto;
from .main-container *
.
Cheers!
Marked as helpful
@akyanu
Posted
@Lemirq Thank you! I didn't realize .main-container * was the thing preventing the subtitles from going left. I thought * only effected .main-container's children, not it's grandchildren too. Good to know for the future!