How can I get my text to not wrap around floated image with just CSS (No bootstraps)


Hi, I have been fighting with this problem for 2 days already, time to ask for help :thinking:

This is my current version of my portfolio project - I want to use only HTML/CSS to build this one.

The problem is that when the screen gets smaller the text in the About section starts wrapping around the picture very uglily.
How can I make it that if the screen is too narrow, the picture goes fully on top (or bottom) of the text?

Thank you in advance for your help

Relevant CSS says:
(I tried to play with @media, but cannot make it do anything :frowning:

`#about {
  background-color: var(--fadedTeal);
  overflow: hidden;

#about img {
  border-radius: 100px 50px;
  height: auto;
  width: auto;
  max-width: 300px;
  max-height: 300px;
  float: right;


#skills {
  font-size: 1.30em;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  clear: both;
  min-height: 270px;
  @media all and (max-width: 699px) and (min-width: 520px) {
background: #ccc;
color: red;

  max-width: 55%;
  text-align: center;
  margin: 20px 350px 20px auto;
  border: 2px solid blue;*/
  .skillList {
padding: 60px;


One option is to use a media query and remove the float on your image:

@media (max-width: 768px) {
  #about img {
    float: none;


Thank you!

I think I was just locating my @ media in the wrong place! It was inside skillset.
Now I feel silly. Thank you very much!