Tagged: x
-
AuthorPosts
-
May 14, 2016 at 2:46 pm #991529
bakParticipantHi
I have a section with two rows.
1) Row 1: 2 columns with a H2 custom headline each
2) Row 2: 4 columns with image/H3 CH/text.How can I achieve that on mobile not both H2 follow after each other but rather that each H2 belongs to the elements of row 2 as in desktop view?
May 14, 2016 at 2:50 pm #991535
bakParticipantThis reply has been marked as private.May 14, 2016 at 11:28 pm #991837
RadModeratorHi there,
Thanks for writing in.
You should only have one row with 2 columns. 1st column should have the costume headline as well as the image and other content. And same goes for 2nd column.
Multiple rows is only recommended if you’re separating content.
Thanks!
May 15, 2016 at 4:39 am #992046
bakParticipantThis reply has been marked as private.May 15, 2016 at 5:39 am #992112
ChristopherModeratorHi there,
You can divide first row in section #3 into two columns and add one custom headline in each column.
Hope it helps.
May 15, 2016 at 5:49 am #992124
bakParticipantThis reply has been marked as private.May 15, 2016 at 7:11 am #992190
ChristopherModeratorHi there,
Ok, I see. Columns stack on top of each other from left to right. To fix this issue add a section divide it into two columns. Add one text element in each column and insert following shortcode :
[x_custom_headline type="center" level="h1" looks_like="h1"]Custom headline[/x_custom_headline] <div class="x-section"> <div class="x-column x-1-2 x-sm">image<br>headline<br>text</div> <div class="x-column x-1-2 x-sm">image<br>headline<br>text</div> </div>Hope it helps.
May 15, 2016 at 8:28 am #992263
bakParticipantThis reply has been marked as private.May 15, 2016 at 10:36 am #992342
RupokMemberHi there,
It seems you have used this CSS to hide this :
.page-id-2481 #x-section-7 .x-container .x-1-3:last-child { display: none; }And this to create margin for the first one :
.page-id-2481 #x-section-7 .x-container .x-1-3:first-child { margin-left: 18%; }Let’s remove these to get expected result.
Cheers!
May 15, 2016 at 2:11 pm #992525
bakParticipantOK, how can I make the columns the same size of the columns like in the sections with 4 columns?
the circles have a diameter of 210 px in the 4 column sections and almost 260 px in the section with the 3 columnsI would also like the cirlces to be same size on mobile view
May 15, 2016 at 8:17 pm #992863
Rue NelModeratorHello There,
To make all your circles the same size in any of the screens, instead of using
max-width: 80%;, you can replace it with a fixed sized likemax-width: 210px;. With this method, you do not have to worry if the do not have the same column width. As long as you have added the maximum width, they will always be in uniform size.Hope this would help you.
May 16, 2016 at 2:27 am #993121
bakParticipantIn my experience working with px will make it problematic on mobile view. Also ideally I would like to have the columns the same width because else the custom headlines have different length depending on column width
May 16, 2016 at 2:39 am #993126
RupokMemberHi there,
I think the above suggestion is already feasible. Further customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, you may wish to consult with a developer. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-991529 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
