Tagged: x
-
AuthorPosts
-
April 9, 2016 at 12:04 pm #874324
logogloParticipantHi there, wondering if you can help.
So, I have this page:
http://486.408.myftpupload.com/work-at-upsiid/
I have a content band, with 2 columns above the main group, but it has a huge gap to the left of the image, how do I reduce that, so it looks like the group below.
Attached is an image to show how I have set it up.
If you have an alternative method, let me know, the problem with the group below, is that as the screen decreases in width, the format gets screwed up, I dont want the words going under the image, I want it to stay to the left.
Thanks.
April 10, 2016 at 1:19 am #874851
ChristopherModeratorHi there,
Please add a custom class like
my-classto the column wraps the image.
Please add the following code in Customize -> Custom -> CSS :@media (min-width:767px){ .my-class{ width: 10%; } }Hope that helps.
April 10, 2016 at 12:37 pm #875373
logogloParticipantThat worked ok, reduced the space, but is there any the image and text can be aligned center? at the moment this pushes the text up and doesnt look good.
Thanks.
April 11, 2016 at 12:18 am #875916
ChristopherModeratorHi there,
Please disable ‘marginless columns’ option.
Add this as well :
.my-class img{ margin:0; }If you want to keep the text in one line, please change column layout to 1/6+5/6 and remove
line-heightinline CSS from text element.Hope that helps.
April 11, 2016 at 3:45 pm #877145
logogloParticipantIt worked to a point, but its not a very elegant solution, I mean, when you view it at different widths, the image icon shrinks sometimes, or the gap increases, the formatting goes off, could you have a look, and maybe suggest something else to try? Sorry for being a pain.
April 11, 2016 at 3:58 pm #877159
logogloParticipantI think I have it working a little better using tables, again, not the best, but it look a bit better:
<table width=”100%” border=”0″ cellpadding=”0″ cellspacing=”0″>
<tbody>
<tr>
<td width=”6%” align=”left” valign=”middle”><span style=”text-align: left; font-size: 25px;”>
</span></td>
<td style=”text-align: left;” align=”left” valign=”middle” width=”94%”><span style=”text-align: left; font-size: 25px;”>We are paid based on success.</span></td>
</tr>
</tbody>
</table>If there is a way to reduce that gap, It would be appreciated. Thanks for all your help.
April 12, 2016 at 2:22 am #877791
ChristopherModeratorHi there,
To remove the padding, please add this code :
.page-id-348 td { padding: 0 !important; }Hope it helps.
April 12, 2016 at 9:58 am #878426
logogloParticipantPerfect, thanks for your help.
April 12, 2016 at 9:29 pm #879240
FriechModeratorGlad we could help,
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-874324 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
