how do i get the image centered?
It’s a CSS trick, as you may have found many examples from this thread
Can you show me how to Center the profile image ?
Blockquote[quote=“Lucas_Pires, post:46, topic:16191”]
<center><div style="background-image: url(AVATAR); -moz-border-radius: 50%; -webkit-border-radius: 50%; border: 1px solid white; width:200px; height:200px; background-repeat: no-repeat, center; back ground-attachment:scroll; background-size: cover; background-position: center center;"></div> <h2>NAME</h2> TITLE
Use a template column and replace Name, Avatar and Tittle with your values from user’s tab. Then place the template on a Rich text component
Does anyone know the ccs name for inline lists. Im trying to shrink the length of an inline list to not go full screen but only 90% of the screen. And have it scroll within itself.
There are different variations of them…a horizontal list vs a vertical list have different class names, for example.
I congratulate you, your applications are always great and solve specific problems.
Thank you sir, I try to make them something worth using and not just a waste of time for you guys.
wow! where do you put the code???
In a Rich Text element.
Typically, these types of CSS tricks are used with Template columns - which then allows you to use substitutions to make them more dynamic.
Note that Glide doesn’t officially support CSS in Rich Text elements, and the class names could change at any time. So use at your own risk.
cool, but is affecting whole tab… this trick is good if you only have a 1 list for whole tab
anyway… is nice tnx
You can target individual components if you’re prepared to dig through the source and discover the class/element names. But again, it’s not officially supported so you need to be careful.
is there a gallery of this kind of codes somewhere ?
You’ll find lots of examples in this thread, actually.
Those that use it a lot tend to maintain their own “cheat sheets”, I think. (I do).
And now I want this non-aligned-card design too!
Called “masonry” layout. Ya, that’d be nice.