-
AuthorPosts
-
December 13, 2019 at 8:19 pm #1165630
You can see here: https://kiactiv.health/#formula that we have a graphic made from 4 columns. We really want to be able to add ‘plus’ icons in between the images to show the formula more clearly.
How would this be achieved?
Many thanks,
TommyDecember 14, 2019 at 8:11 am #1165796Hi Tommy,
I’m not sure if I understand your question, could you try to explain a bit further or post a screenshot highlighting your intentions please?
Best regards,
RikardDecember 15, 2019 at 9:51 pm #1166143Hi Rikard,
The section of the website is currently made from 4 columns within a colour section, giving the look currently seen. However, we really want to be able to add plus icons (see here) and keep everything on the same line. I have played around with multiple options, but I have not been able to achieve the look and was looking for guidance.
Best regards,
December 16, 2019 at 1:03 pm #1166349Hi,
I believe we can achieve this with css:
Basically this will create the above for desktop:#formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-top: 5em; }
You can test this in your Quick CSS, the icon is a free hosted one, but you can change the url to your own icon.
But you will need media queries for it to look good in mobile, tablet, and desktop:@media only screen and (min-width: 1200px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-top: 5em; } } @media only screen and (min-width: 768px) and (max-width: 1199px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/40/000000/plus-math.png); display: inline-block; margin-top: 5em; } } @media only screen and (min-width: 670px) and (max-width: 767px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-left: 15.5em; } } @media only screen and (min-width: 427px) and (max-width: 669px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-left: 13em; } } @media only screen and (min-width: 377px) and (max-width: 426px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-left: 7em; } } @media only screen and (min-width: 322px) and (max-width: 376px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-left: 6em; } } @media only screen and (max-width: 321px) { #formula .flex_column_table .av-flex-placeholder:before { content: url(https://img.icons8.com/officel/80/000000/plus-math.png); display: inline-block; margin-left: 5em; } }
This is only rough to get you started, please feel free to test and adjust to suit your needs.
Best regards,
MikeJanuary 10, 2020 at 12:56 pm #1172134Hi Mike,
This worked perfectly. Thank you!
January 10, 2020 at 2:05 pm #1172157Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Creating columns smaller than 1/5 to enable more in a row’ is closed to new replies.