-
AuthorPosts
-
June 8, 2015 at 3:04 am #455690
Support,
I can’t seem to figure out why the Image Element is not consistent in the Grid Layout. Meaning, the first image fills 100% of the block, whereas the other Image Elements have a small padding at the bottom of them. I’ve copied and pasted the first Image Element so they’re all similar, settings wise.
Also, how would I go about placing a border between the four Image Elements on mobile?
Thanks!
June 8, 2015 at 7:27 am #455734Hi tylerjmorrison!
Can you please mask your password / username as private, so we can take a look?
Regards,
BasilisJune 8, 2015 at 1:27 pm #456062This reply has been marked as private.June 8, 2015 at 2:00 pm #456077This reply has been marked as private.June 9, 2015 at 12:04 pm #456619Hi!
1.) Your tinypic image from your first post doesn’t look like on your website:
It looks totally fine to me. Seems you could fix it.2.) About which four image elements are you talking about? I see so many images on your website … Please use screenshots to make things clear for us.
3.) Your last tinypic image is not loading for me, so not sure what you mean. Are you refering to this?
If yes, you can control it using this code:.hr-custom.hr-center { left: -3px; }
Adjust as needed.
Regards,
AndyJune 9, 2015 at 2:58 pm #456743Andy,
Thanks for your response! I’m not sure how much more clear I can be; I have attached a screenshot in my original post. The Grid Layout consist of the four sections: “Rittenhouse Square, Washington Square, etc.”.
To answer your response:
1) That “Selling A Home” and “Buying A Home” is a background image rather than an Image Element. Background images work as intended.
2) Please see the screenshot in my original post, as well as the first paragraph of this response.
3) No, that’s the custom separator. I am referring to the “Fullwidth Separator.” It extends past the column section it is in. The tinypic loads just fine on my end. I’ve also noticed that I can enter “100%” width under the custom separator; however, it follows the padding set by the Grid Layout. Any way I can have the custom separator ignore the padding when 100% is entered?
Thanks!
June 11, 2015 at 1:38 pm #457801Hi!
Now I see what you mean.
Try this code to give your images all the same height:
img.avia_image { height: 146px; }
For borders on mobile use this:
@media only screen and (max-width: 767px) { .flex_cell_inner { padding-bottom: 10px; }}
and adjust as needed.
Can you provide us a link showing the issue with the padding and the separator please? so we can inspect your elements and provide you some precise CSS.
Best regards,
AndyJune 11, 2015 at 5:06 pm #457921Thanks, Andy!
For the image height, that is a solution but then the images do not resize correctly – they’re smushed or stretched. Any other ideas?
June 15, 2015 at 11:55 am #459232Hi!
try to define the image width as well:
img.avia_image { height: 146px; width: auto !important; }
Hope this helps. If not please post a link showing the images in question.
Best regards,
AndyJune 15, 2015 at 2:12 pm #459308Andy, the auto width does not work – there is a space on the left and right side of the image. I’ve also applied a width of 1000 and changed the height but on some screen sizes, the images look stretched / smushed – not good looking at all.
Also, I’ve attached an image, link and description above.
Any other solutions?
Thanks.
June 16, 2015 at 2:58 pm #460066Hey!
Please try using following code
.av-border-cells .flex_cell:first-child { border: none; border-left: 10px solid white; } .flex_cell.no_margin.av_one_fourth.avia-builder-el-17.el_after_av_cell_one_fourth.avia-builder-el-last.av-zero-padding { border: none; padding-left: 10px!important; }
Best regards,
YigitJune 16, 2015 at 8:04 pm #460345Interesting. I added the code above and the image height now works; however, it calls for a border on the left side, which looks odd. Anyway to remove that left border without it affecting the image heights?
This is my current CSS, but please note, the stock theme CSS still has the same issue:
.av-border-cells .flex_cell:first-child {
border: none;
border-left: 10px solid white;
}.flex_cell.no_margin.av_one_fourth.avia-builder-el-17.el_after_av_cell_one_fourth.avia-builder-el-last.av-zero-padding {
border: none;
padding-left: 10px!important;
}.av-border-top-bottom{border-top-style: solid; border-top-width: 10px; border-bottom-style: solid; border-bottom-width: 10px; border-color: #ffffff;}
.av-border-cells .flex_cell{border-left-style: solid; border-left-width:10px; border-color: #ffffff;}@media only screen and (max-width: 767px) {
.av-border-top-bottom{border-top-style: solid; border-top-width: 10px; border-bottom-style: solid; border-bottom-width: 10px; border-color: #ffffff;}
.av-border-cells .flex_cell{border-left-style: solid; border-left-width:0px; border-color: #ffffff;
}
}I’m simply trying to make the border thicker. I just can’t figure out the image height issue, with and without the CSS above. I’ve left the code you asked me to add so that you can see the borders only on the left side.
Thanks!
June 19, 2015 at 9:56 am #461760Hi!
look at Yigit’s Code and change from this:
.av-border-cells .flex_cell:first-child { border: none; border-left: 10px solid white; }
to this code:
.av-border-cells .flex_cell:first-child { border: none; border-left: none; }
Then add this code:
.avia-image-container-inner { height: 185px; }
I hope this fixes the issue finally!
Cheers!
AndyJune 19, 2015 at 9:20 pm #462119Hi Andy! Thanks! However, that does not work; I’ve left the code in so you can see. As mentioned above, this code works:
.av-border-cells .flex_cell:first-child {
border: none;
border-left: 10px solid white;
}However, once you play with that “border-left” property, it gets weird!
Anything else?
Thanks!
June 22, 2015 at 10:57 am #462549June 23, 2015 at 3:16 am #463118June 23, 2015 at 9:20 am #463190 -
AuthorPosts
- You must be logged in to reply to this topic.