Menu icon Foundation

My Posts

  • 8
    Replies
  • Grid basics and centering 2 small columns

    By Ekku Jokinen

    Hello everyone! I have some experience in building html/css sites and now I've taken up Foundation 5. I have a small problem understanding how it all works but unfortunately I have access to lots of materials regarding F5. I have a question: I'm try... (continued)

    Last Reply by Rafi Benkual almost 4 years ago


My Comments

Ekku Jokinen commented on Ekku Jokinen's post almost 4 years

Thanks, that helped me solve my problem!

Ekku Jokinen commented on Ekku Jokinen's post almost 4 years

Bumping this, if anyone knows how to help please do!

Ekku Jokinen commented on Josh Zandman's post almost 4 years

Did you try googling your issue (on submit clear form fields)? You get lots of results and I think the first would be good (using javascript) http://stackoverflow.com/questions/15343890/clear-input-fields-on-form-submit

I'm not familiar with Rails 4 so I have no idea if it plays nicely with javascript but there you go.

Ekku Jokinen commented on Ekku Jokinen's post almost 4 years

Sorry, english isn't my native language so perhaps I explained it badly.

I want the images to stack when in mobile, and if the screen is medium, or large, then they are next to each other, centered. The picture in my first post shows the problem and imagine the images move to the right a bit until they are centered. That's what I'm trying to do.

The first bit of code you offered was good but the images aren't centered on a small screen, I would also like that even though they are stacked.

Thanks,
E.

Ekku Jokinen commented on Ekku Jokinen's post almost 4 years

Do you see the cyan colored boxes and how they are not centered? I want them to be centered. I tried your solutions, and found some problems:

in the first, when the screen is small, the images aren't centered. If I add the .small-centered class, it messes up the medium and up.

In the second the images are too big. If I give a class for the images and change their height, they get spaced out.

Posts Followed

No Content

Following

    No Content

Followers

My Posts


My Comments

You commented on Ekku Jokinen's post almost 4 years

Thanks, that helped me solve my problem!

You commented on Ekku Jokinen's post almost 4 years

Bumping this, if anyone knows how to help please do!

You commented on Josh Zandman's post almost 4 years

Did you try googling your issue (on submit clear form fields)? You get lots of results and I think the first would be good (using javascript) http://stackoverflow.com/questions/15343890/clear-input-fields-on-form-submit

I'm not familiar with Rails 4 so I have no idea if it plays nicely with javascript but there you go.

You commented on Ekku Jokinen's post almost 4 years

Sorry, english isn't my native language so perhaps I explained it badly.

I want the images to stack when in mobile, and if the screen is medium, or large, then they are next to each other, centered. The picture in my first post shows the problem and imagine the images move to the right a bit until they are centered. That's what I'm trying to do.

The first bit of code you offered was good but the images aren't centered on a small screen, I would also like that even though they are stacked.

Thanks,
E.

You commented on Ekku Jokinen's post almost 4 years

Do you see the cyan colored boxes and how they are not centered? I want them to be centered. I tried your solutions, and found some problems:

in the first, when the screen is small, the images aren't centered. If I add the .small-centered class, it messes up the medium and up.

In the second the images are too big. If I give a class for the images and change their height, they get spaced out.

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content