Tagged: x
-
AuthorPosts
-
April 10, 2016 at 10:13 am #875240
piexecParticipantI’m adding an image element to the bottom of my page to give it a non-straight edge.
Problems:
1. The image gets blurry when it stretches.
2. There is a very thin line that separates my image from the footer background.I’ve already increased the media settings upload to 3000px width. The image has plenty of resolution as well.
Can you help please. Thanks in advance.
April 10, 2016 at 10:22 pm #875837
LelyModeratorHi There,
1.) Please use wider image.
The url of the image is this:
http://i2.wp.com/piexec.com/wp-content/uploads/2016/04/bottom_line2.png?w=1170
This w=1170 restrict the image width.
Instead of adding the image as IMAGE element, please add it instead as background image for section. Note to use the original size of the image. Then on the section element STYLE field, please add this:
background-size: cover; background-repeat: no-repeat;2.) Please add this CSS:
.x-colophon.top { border-top: none; box-shadow: none; }Hope this helps.
April 11, 2016 at 11:19 am #876708
piexecParticipantClose….
As you can see here, the image is there, but way too large. I made the original image 3000px wide to compensate for the largest possible scenario.
http://piexec.com/wp-content/uploads/2016/04/bottom_line3.png
As you can see the bottom graphic is not “fitting” into the container.
April 11, 2016 at 7:44 pm #877392
LelyModeratorHi There,
On the section element style field, please try updating this:
background-size: cover; background-repeat: no-repeat;
To this:
background-size: contain; background-repeat: no-repeat;
You may check this:http://www.w3schools.com/cssref/css3_pr_background-size.asp
And since where using contain, please do decrease the value for GAP to 35 or just lower value.Hope this helps.
April 11, 2016 at 8:55 pm #877466
piexecParticipantThis reply has been marked as private.April 12, 2016 at 6:22 am #878063
Paul RModeratorHi,
Sorry, not really sure how you would want it to look like.
Can you provide us an image showing how exactly do you want it to look like.
For the meantime you can try this code.
background-size: cover; background-repeat: no-repeat; background-position: 50% 50%;You may change background position to achieve your desired result.
Hope that helps.
April 12, 2016 at 10:04 pm #879282
piexecParticipantthat worked! Thanks!!!!
April 13, 2016 at 6:34 am #879825
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-875240 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
