Page 1 of 1

linking/grouping code and image or shape

Posted: Tue Aug 20, 2024 1:00 pm
by krwysi
Hi I want to display a number (which is variable and comes from some custom php getting a count of items in a table) inside a circle.
I can get the circle to work in a layout grid, and I can get the number to work...separately.. but, how do I get the result of the php script (the number) to display on the top of the circle? If I group the circle and the code, as soon as I put them in a grid, they move side by side instead of on top of one another. The number needs to stay fixed inside the circle when the page is resized. Any ideas? Thanks in advance.
Link to project
https://mega.nz/file/WNZGgTQC#mxk1acwI0 ... r75T534NOw

Re: linking/grouping code and image or shape

Posted: Tue Aug 20, 2024 1:18 pm
by Pablo
In a Layout grid, elements cannot overlap, because they 'float'.

Alternatively, you can use a 'section', which allows you to layer items.
https://wysiwygwebbuilder.com/section.html

Re: linking/grouping code and image or shape

Posted: Tue Aug 20, 2024 1:48 pm
by krwysi
Pablo, thank you so much, perfect, just what I needed! :D