Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #437727

    Hi There,

    I had a problem that I thought was solved here:
    https://kriesi.at/support/topic/edge-to-edge-fullwidth-on-mobile-tablet-image-with-caption-in-grid-row/#post-432562

    The problem is that now all content in cells in a grid rows have no left / right margins when viewed as responsive.

    How do I apply the change only to Images (via the image page builder component) instead of text and text blocks and other elements?

    Thanks!

    #438845

    Hey anton123!

    not sure what you mean exactly. Could you provide us screenshots showing what you want to achieve? you can use imgur.com or public dropbox link.
    Maybe you need this:

    .flex_cell.no_margin.av_one_fourth.avia-builder-el-2.el_before_av_cell_one_fourth.avia-builder-el-first.av-zero-padding {
    margin: 10px !important;
    }
    

    Regards,
    Andy

    #438852
    This reply has been marked as private.
    #439521

    Hey!

    Please try the following in Quick CSS under Enfold–>General Styling:

    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all .av-flex-cells .no_margin .flex_cell_inner {
      width: 98%;
      max-width: 98%;
    }
    }

    Best regards,
    Rikard

    #439541

    Thanks, unfortunately this still affects all the contents of all the grid rows and with the 98% there are still gaps on the sides of the image blocks (Images with caption)

    There must be a css to target only the Images with caption to display edge to edge (not all the content in the grid row)?

    Thanks Again

    #439755

    Hi!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 767px) {
    .flex_cell_inner > .av-hotspot-image-container {
      padding: 0;
    }
    .flex_cell_inner > * {
      padding: 0 50px;
    }}

    Cheers!
    Yigit

    #442895

    Hi there, sorry your second bit of css reverts everything back to the way it was?

    with the first bit of css ( width: 98%; max-width: 98%;) we get it close to the way it should look. But the problem is that the Images with caption blocks need to be 100% (edge to edge) and the rest of the content should have normal padding (with 98% they sit too close to the edge)

    In fact I had a look at the shop demo site on Responsinator and that page’s Images with caption blocks sit edge to edge?
    http://www.responsinator.com/?url=http%3A%2F%2Fkriesi.at%2Fthemes%2Fenfold-shop%2F

    I have taken out your css changes and when looking at my page on the Responsinator, they do not sit edge to edge?

    Why is this such a problem? or does Kriesi have special custom css for that demo to achieve the edge to edge look?

    #444282

    Hi!

    Do you mind creating a temporary admin login and posting it here privately?

    Best regards,
    Yigit

    #444306

    Thanks – the test site is in a critical stage of design right now

    Will you be very very careful not to change anything? I can’t afford to have to spend time to fix stuff if you’ve accidentally broken settings or pages.

    #444307
    This reply has been marked as private.
    #445240

    Hi!

    Use this:

    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all #collections .no_margin .flex_cell_inner {
      width: 100%;
      max-width: 100%;
    }}

    In your custom css codes, I noticed that you are separating css media queries with the same width. For example:

    @media only screen and (max-width: 767px) {
    	.responsive #top .slideshow_caption .avia-caption-content {
    		font-size: 15px !important;
    	}}

    And this:

    @media only screen and (max-width: 767px) {
    .responsive #top .slideshow_caption h2 {
    		font-size: 32px !important;
    	}}

    You can combine them in a single media query:

    @media only screen and (max-width: 767px) {
    	.responsive #top .slideshow_caption .avia-caption-content {
    		font-size: 15px !important;
    	}
    	
    	.responsive #top .slideshow_caption h2 {
    		font-size: 32px !important;
    	}
    	
    	#top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {
    	  padding: 0px 20px;
    	}
    }

    CSS media queries usually go at the very bottom the css stylesheet.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.