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
[/quote]
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.
Cheers
Dario
Vertical inline
Thank you sir, I try to make them something worth using and not just a waste of time for you guys.
Which layout?
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.