Place 4 columns in a row

0

The question is this: I am extremely newbie in html/css and am modifying a wordpress theme.

The theme works from columns, and I need help specifically in that.

Asyoucansee,theseareserviceboxes,theseboxesdonotappeartohaveawidthdefined,thatis,theirwidthisdefinedbythewidthofthecolumninwhichtheyareinserted.

Inthephoto,thereare3boxes,insertedinacolumnof30.66%dewidth,untilthenperfect.

ButIneedtoput4moredown,exactlythesamewidthasthese,theproblemisthatwhenIputthefourth,itbreaksthelineandgoestothebottomline,asshowninthesecondprint

I want to get 4 boxes of these in just one row, how can I do this? Any guidance?

    
asked by anonymous 06.06.2015 / 21:52

1 answer

2

Just an update, about how I managed to resolve it.

My problem was this: I wanted to create a div that was wider than its div-parent, so I would align the inboxes at full width without breaking the line when I reached the maximum widht of the parent div

.filhofw {
position: relative;
width: 100vw;
left: calc(-50vw + 50%);

Then I just left the width of the boxes in px and aligned everything, put them inside the child (full width)

    
07.06.2015 / 23:23