Hi. I’m trying to set the two “learn more” buttons on the same line (on desktop devices). I have not been able to do it. I guess it is possible. How?
The page is edinventa.com/test
Thank you in advance!!
Hi. I’m trying to set the two “learn more” buttons on the same line (on desktop devices). I have not been able to do it. I guess it is possible. How?
The page is edinventa.com/test
Thank you in advance!!
Hey there,
Looks like you’re adding the button in the Container that the Flex Layout was set to Column. It’s contents will be stacked just like it is now. Please duplicate the row and set the container’s flex layout to Row. Then, remove the extra elements and duplicate the button. Please see https://youtu.be/Doot9bWJoEY
Thanks.
Thanks for the video explanation. I have tried that, but I don’t achieve the wanted result.
The first container is set a a column because I need each element below the previous one.
I have added a second container as a row because of your given explanation: I want the second button at the right instead below. Unfotunately the new container is set as the second column of the previous container (check edinventa.com/test). Why? How to solve it?
Thank you!
In addition the inline buttons should be responsive: in mobile, they should be one below the other whereas on desktop they should be one at the right of the other.
So maybe the solution is adding raw block of code with ? That seems a bad practice at first glance though.
Hi There,
See this setup: https://screencast-o-matic.com/watch/cbieIHllmA
Bar height should be set to auto. Layout is set to ROW. WRAP children is set to ON.
See column and button setup too on the screencast. Please note that if the button still fits it will not stack on top of each other.
OK. I have done what you have said. ¡Thanks for the video!
I wonder how to accomplish the opposite for the rest of the elements:
Web page where I’m trying to implement that: http://www.edinventa.com/test/
Thanks
Carlos
Hi Carlos,
Would you mind providing us login credentials so we can take a look on your setup?
Please use the “Secure Note” for providing a credentials.
Thanks,
Hi There
I have fixed for you, you need now to play with the parameters in order to make it look like you want.
Thank you
Hi. I’m sure what you have fixed. Now, I see the mobile version wrong:
I can’t see any change on the desktop version (this forum only allows to upload one image, so I can’t upload the screenshot, sorry).
And I see two buttons and texts on the page (not header) I don’t know why (this forum only allows to upload one image, so I can’t upload the screenshot, sorry)
I wonder how to accomplish a header like the following:
Thanks. Carlos
Desktop has not change:
Hi Carlos,
If your container is set to row, the elements will align side by side. If your container is set to column, they will stack on top of each other.
Each Element, Container or Bar have a customize button where you can hide the element according to the screensize.
The healder builder is a great tool, but it takes time for you to achieve the desired layout.
Please use the guideline above to achieve what you are looking for.
Thank you
Hi. It seems to me this responsive layout I want is very typical. I suggest you guys to add that feature: be able to add 2 buttons on the same line and break it into two lines if it does not fit on one.
The suggested way of hiding elements depending of the screen size seems a botch for me.
The workaround I’m going to try is using a single column. Then using raw elements when I want several elements on the same row. On the case of buttons, hopefully using the following code surrounded by span labels will work: http://demo.theme.co/integrity-1/shortcodes/buttons/
Question: the design of those buttons seem different to the ones of pro, ¿is there a page with shortcodes of the new buttons?
EDIT: reading this: https://css-tricks.com/snippets/css/a-guide-to-flexbox/
I think it should be possible to set all the elements on the same row. Then, set the elements we want to be alone on one row as full width or with the margin to fill the 100% of the device. Am I right? Could it be a solution? How to accomplish that?
Remember: the result we want is:
So, does that solution has any inconvenient? Set all the elements on a raw container, and set the elements we want on a single line as width - max width to 100%
Thank you!
Hi There,
The Container can act as ROW or Column depending on the setup. Add 4 Containers in a BAR:
First container > Add the headline element
Second Container > Add the first button
Third Container > Add the second button
Fourth Container > Add the phone number text
How it will be responsive depends on the SELF FLEX settings and you are correct on the CSS tricks guide. See this: https://screencast-o-matic.com/watch/cbiijMlDQ9
Hope this helps.
Wow. Nice explanation. Now seems simple. Thanks!
I’m curious to understand why the following container that is set as a ROW but the headline is broken into a new line and why the responsive behaviour is not working well:
So:
Thank you very much you are a awesome support!!
Hi there,
CASE A: There are 2 workarounds that you can use:
Then go to the other Headline which the content of it is the same but is set only to show in mobile view, make the font smaller to fit the mobile screen.
Case B: As explained above it is a matter of WRAP CHILDREN option. Also in the Setup option of the Headline and Text element, you have the Text Overflow option which will help you regarding the wrapping of the elements:
Case C: As explained in the Case C, you will need to duplicate the elements and show/hide them in different viewports and set proper font sizes and other stuff to fit the proper viewport screen.
Thank you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.