Beautiful Design App

how do i get the image centered?

It’s a CSS trick, as you may have found many examples from this thread :wink:

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

6 Likes

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

1 Like

Vertical inline

Thank you sir, I try to make them something worth using and not just a waste of time for you guys.

1 Like

Which layout?

I think mine is very deferent than most of Apps here, take a look:

1 Like

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.

1 Like

cool, but is affecting whole tab… this trick is good if you only have a 1 list for whole tab
anyway… is nice tnx

2 Likes

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).

2 Likes

Right. I have my own Google Keep library with my CSS:

14 Likes

And now I want this non-aligned-card design too! :rofl:

2 Likes

Called “masonry” layout. Ya, that’d be nice.

4 Likes