Home Forums Art HTML Theme What is col-sm-12 col-md-5 ?

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 3 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14881

    Bartek
    Participant

    Hello,
    Could you please explain what is col-sm-12 col-md-5?
    From documentation:
    <div class=”row single-gallery-col2″>
    <div class=”single-col2-text-wrap col-sm-12 col-md-5 sticky_column pull-right”>

    Also:
    I’d like to display single image and fit into the screen using 2 columns portfolio item view (project-item-2cols-gallery-left.html).
    I want to avoid scrolling. This is necessary with tall images now.
    How can I do it?
    I guess there are 2 ways:
    One is to cut image to fit one screen.
    The other is to add some white space, so that complete image can stay proportional.
    What would be your recommended solution?

    Thanks!
    Bartek

    #14884

    BWSM
    Keymaster

    Hi,
    The classNames are from Bootstrap framework ( http://getbootstrap.com/docs/3.3/ )
    The col-sm-12 means fullwidth on mobile
    The col-md-5 means 5-cols on desktop

    I am clear what’s UI you want.
    Do you have a UI image?

    Regards!
    Bwsm – uiueux.comTwitterFacebook

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.