-
AuthorPosts
-
June 9, 2021 at 10:57 am #1304830
Dear support,
I have for a long time been missing the option to make a Blurb but from this Enfold ticket https://kriesi.at/support/topic/tables-options-links-html/ – I see some nice possibilities.However, I miss the option to make a frame around the blurb. Preferably where the frame is close around the image but some padding is added to the text area.
And also, if possible a way to make the height of each blurb the same which is nice when you have 3 in a row. In my case, I will have 3×3 blurbs on the page, and it would be nice if they all could share the same height. Is all that possible with CSS?
I am able to change the text properties myself with CSS.
Best,
Chrilles
June 11, 2021 at 4:12 am #1305163Hi Chrilles,
I’m not sure I fully understand your intentions, could you post a screenshot highlighting what you would like to achieve please?
Best regards,
RikardJune 11, 2021 at 8:56 am #1305221Hi Rikard,
Of course
Eg. like the boxes on this page https://facilitate.dk/cases/ – preferably with an option to add a Call to action button. And a border/drop shadow
More examples from the same website https://facilitate.dk/inspiration/Bonus layouts
https://plugins.divinext.com/divi-next-blurb/blurb-layouts-41-50/ – Layout 41 and 42 (and not necessary the hovering effect)Best,
Chrilles
- This reply was modified 3 years, 6 months ago by Chrilles.
June 13, 2021 at 11:00 pm #1305480Hi,
Thank you for your patience and for the links, on your site I see the images are not the same size, one is landscape, one is normal 467px x 467px (middle) and the first one is 1200px x 832px, so I recommend trying to use the same image size for all of them. Then I notice that your “title” is very long due to your language, since I doubt you want to hyphenate it I recommend using a smaller font size.
So as an example I created 6 simple team member elements with only an image and a little dummy text:
then I placed 3 in a grid row element as I described in the thread you linked to and 3 in 1/3 columns like you have on your site:
then I added this css for the box-shadow and text padding you were asking about:.avia-team-member { box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%); } .team-member-description { padding: 0 15px 10px 15px; }
and this was the result:
This seems like the result you were looking for, I like the grid row layout as it seems more full width, but the columns also have a nice boxed look. Hope this helps.Best regards,
MikeJune 14, 2021 at 12:04 pm #1305576Thanks a lot Mike,
I will have a look at that a little later.
I guess I will be able to add a headline as well?Best,
ChrillesJune 15, 2021 at 1:54 pm #1305817June 16, 2021 at 9:23 am #1305951Hi Mike,
Please see this page https://mervib.dk/chrillestester/
When I add a button to the Layout element, below the Team member element, the button is placed on the side – outside the frame.
How is it possible to have it placed below the team member element?Best,
Chrilles
June 16, 2021 at 1:09 pm #1305987June 16, 2021 at 1:23 pm #1305991Thanks a lot – again.
Last question. Is there a way to control the width of the elements?
Best,
Chrilles
June 17, 2021 at 11:42 am #1306167Hi,
Sure, but perhaps you could explain further what you mean, because the column widths are controlled by the column elements that you use ie; 1/3, 1/4, 1/2, etc and the width of the page container, so using the best suited column is better than forcing a 1/4 column to 33% width, and sometimes it would be better to change the padding of the page so the elements have more room, and other times adding or removing the padding or margin between the columns would be a solution. So it really kind of matters what you are trying to achieve.
But if you really want to just modify the column widths you can find them in /wp-content/themes/enfold/css/grid.css
These are the defaultsdiv .av_one_fifth { margin-left: 6%; width: 15.2%; } div .av_one_fourth { margin-left: 6%; width: 20.5%; } div .av_one_third { margin-left: 6%; width: 29.333333333333332%; } div .av_two_fifth { margin-left: 6%; width: 36.4%; } div .av_one_half { margin-left: 6%; width: 47%; } div .av_three_fifth { margin-left: 6%; width: 57.599999999999994%; } div .av_two_third { margin-left: 6%; width: 64.66666666666666%; } div .av_three_fourth { margin-left: 6%; width: 73.5%; } div .av_four_fifth { margin-left: 6%; width: 78.8%; } div .av_one_sixth { margin-left: 6%; width: 11.666666666666666%; } div .av_one_seventh { margin-left: 6%; width: 9.142857142857142%; } div .av_one_eighth { margin-left: 6%; width: 7.25%; } div .av_one_nineth { margin-left: 6%; width: 5.777777777777778%; } div .av_one_tenth { margin-left: 6%; width: 4.6%; }
Best regards,
MikeJune 17, 2021 at 1:26 pm #1306178Thanks a lot, Mike – and also thanks for your patience :-)
I see your point (now) – and of course, that is how it is.What I am looking for on this page – https://mervib.dk/chrillestester/ -, is
– an option to use the full width of the yellow area you see on this page https://mervib.dk/chrillestester/ – and also
– make the box-shadow fit the element(s) when equal height is chosen.I hope I am more clear now :-)
/Chrilles
June 18, 2021 at 11:44 am #1306324Hi,
Thank you for the feedback and the link to your page, in this situation the page is using the boxed layout so the page is contained at the body div so the element can not brake out of this, you will need to change to the full-width layout and then contain the elements you wish to 1310px, such as the footer & header.
As for the box shadow, please add a custom class the to the 1/3 columns and change the css to reflect:.custom-class { box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%); }
Best regards,
MikeJune 18, 2021 at 1:10 pm #1306342THANKS Mike,
This is perfect.If others need the same – this is the final CSS used for the Team-member element.
.team-member-name { text-transform: none !important; font-weight: "bold" !important; font-size: 17px; padding: 0 15px 10px 10px; } .team-member-description { text-transform: none; padding: 0 15px 10px 10px; } .custom-class { box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%); }
June 18, 2021 at 4:02 pm #1306399Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Styling the Team Member Blurb with a frame and some text padding’ is closed to new replies.