Page 1 of 1

Problem with default position: absolute

Posted: Fri Dec 16, 2022 4:39 pm
by a1vstudio
Hey,

Is there a chance to set all skin elements to position relative?
I'd like to use for example grid or flexbox when I have to create a responsive menu for our client

Best Regards,
Kamil

Re: Problem with default position: absolute

Posted: Sun Dec 18, 2022 12:32 am
by Tony
Hi Kamil,

Do you mean something like this?

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html

tutorial-5.png
tutorial-5.png (505.6 KiB) Viewed 1598 times

Tony

Re: Problem with default position: absolute

Posted: Sun Dec 18, 2022 1:10 am
by Idocio
Very interesting Tony.
How do you do it?

Re: Problem with default position: absolute

Posted: Sun Dec 18, 2022 2:01 am
by a1vstudio
Tony wrote: Sun Dec 18, 2022 12:32 am Hi Kamil,

Do you mean something like this?

https://p2vr.s3.ap-southeast-2.amazonaw ... index.html


tutorial-5.png


Tony
Unfortunately not really, you still have an absolute value for each item :P

I think I will just create in stylesheet class .relative which will have a declaration

Code: Select all

left: 0 !important;
top: 0 !important;
position: relative !important;
and then I will set this as an class name manually to each SVG imported object.