LocationContactPhone
  • StartNEU!
  • Portfolio
  • Kontakt
  • Datenschutz
  • Impressum
  • Menü Menü

Hello

Click here to add your own text Click here to

Hello

Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add

Hello

Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text

Hello

Hello

Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add

Hello

Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text Click here to add your own text

Hello

Click here to add your own text Click here to add your own text Click here to add your own text

flex-count does not belong to the columns count! There might be 7 columns inside ( and you can set them as 1/4 column – because width is not set by that declaration but by flex declaration.

To understand the flex formula:
With 5 items placed side by side, we have (5-1) = 4 gaps. These 4 gaps ( 4*gap width)  are subtracted from the 100% width. That is the remaining space for the 5 items. So each item now has 1/5 of that width.

/* ===  or with a more modern way to style the flex-box  === */

#top .my-flexbox {
  --flex-gap: 20px;
  --flex-count: 5;
}

#top .avia-section.my-flexbox .entry-content-wrapper {
  display: flex;
  flex-flow: row wrap;
  gap: var(--flex-gap);
  justify-content: center;
  align-items: stretch;     /* ===  stretches the items (columns) to have equal height on each row   === */
}

#top .avia-section.my-flexbox .entry-content-wrapper:before,
#top .avia-section.my-flexbox .entry-content-wrapper:after {
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: absolute; /* Takes it out of the (document) flow */
}

#top .avia-section.my-flexbox .entry-content-wrapper .flex_column {
  box-sizing: border-box !important; 
  flex: 0 0 calc((100% - (var(--flex-count) - 1) * var(--flex-gap)) / var(--flex-count));
  width: unset !important;
  margin: 0 !important;
  padding: 30px; /* you can change here padding of the columns at once */
}


/* Media Queries: Override Only the Variable */

@media only screen and (max-width: 1199px) {
  #top .my-flexbox {
    --flex-count: 4;
  }
}

@media only screen and (max-width: 989px) {
  #top .my-flexbox {
    --flex-count: 3;
  }
}

@media only screen and (max-width: 767px) {
  #top .my-flexbox {
     --flex-count: 2;
  }
}

@media only screen and (max-width: 569px) {
  #top .my-flexbox {
     --flex-count: 1;
  }
}

by the way:  if you have ( example above 5 colums – gap is 20px) :

#top .avia-section.my-flexbox .entry-content-wrapper .flex_column {
        flex: 0 0 calc((100% - (var(--flex-count) - 1) * var(--flex-gap)) / var(--flex-count));
/*	flex: 0 0 calc((100% - (5 - 1) * 20px) / 5);   */
/*	flex: 0 0 calc((100% - 80px) / 5);  */
}

then the last row will stretch the items
declaration is a shortform for:

flex: flex-grow flex-shrink flex-basis

Webers Webdesign

Kontakt

Status: Geöffnet bis 15:00 Uhr

Adresse

Webers Webdesign
Ludwig-Schopp-Straße 27
53117 Bonn

Anfahrt

Telefon

+ 49 228 9768293

Anrufen

E-Mail

info@guenterweber.com

E-Mail senden

You are currently viewing a placeholder content from Google Maps. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.

More Information
Accept required service and unblock content
© 2026      Website Design by: Webers Webdesign
    Nach oben scrollen Nach oben scrollen Nach oben scrollen