linking/grouping code and image or shape

Questions related to the Responsive Web Design tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/respon ... esign.html
Please read this first before posting any questions! Also check out the example project to get an idea how the RWD concept works.

Responsive Web Design FAQ:
http://wysiwygwebbuilder.com/forum/view ... 10&t=63817
Post Reply
krwysi
 
 
Posts: 19
Joined: Wed Feb 21, 2024 10:47 pm

linking/grouping code and image or shape

Post 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
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: linking/grouping code and image or shape

Post 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
krwysi
 
 
Posts: 19
Joined: Wed Feb 21, 2024 10:47 pm

Re: linking/grouping code and image or shape

Post by krwysi »

Pablo, thank you so much, perfect, just what I needed! :D
Post Reply