templaza / astroid-framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://astroidframe.work/
GNU General Public License v3.0
86 stars 15 forks source link

Vertical distance between sections #495

Closed Maury-Maia closed 10 months ago

Maury-Maia commented 11 months ago

Dear sirs,

How is the vertical distance between sections adjusted in the Layout?

Best Regards!

sonvnn commented 11 months ago

You can use padding/margin options in Section layout -> Design settings

Maury-Maia commented 11 months ago

Dear Mr. Sonny,

I appreciate your response.

I apologize because I was hasty and formulated my question incorrectly.

The question is, whether there is an instance above the Astroid Layout that defines parameters and is not influenced by the Astroid settings. I have sections where even the "padding/margin" has a value of "0" or no value, there is still a space of around 20 to 30 pixs between them. In a section, react with the configuration established in "padding/margin".

As this website was developed in Joomla 3, and I am updating and modifying it, please disregard the issue at this time. It will be migrated to version 4, and after resolving any situations that may arise, I will check the issue again and post any questions that arise. I'm sorry that I've taken up your time now, I thank you again and ask for your understanding.

Best Regards

Chacapamac commented 11 months ago

@Maury-Maia Did you try a “Without” or “Custom” Container?

Screen Shot 2023-12-11 at 11 09 06 AM

Maury-Maia commented 11 months ago

Dear Chacapamac,

When selecting the suggested options, what happens is that the sections expand horizontally to the edge of the screen, but apparently do not change the height or distance to the sections above and below. On the other hand, I noticed that the section where I can change the distance had the "Custom Class" option blank, unlike the others that had a defined class. By clearing the "Custom Class" option, section reduced the distance between sections to between 10 and 12 px. As the distance remained as desired, I will no longer discuss this matter at this time. If this is the case, I will resume the discussion. If it is of interest, I can check what is within my reach. So, I would like to thank you for the guidance, as it was very useful and helped me with the situation I mentioned.

Best Regards

Chacapamac commented 11 months ago

@Maury-Maia Happy to help!

do not change the height or distance to the sections above and below.

If you want, you can play with the custom setup of the margin/padding of all the sections you want to change.

By clearing the "Custom Class" option, section reduced the distance between sections to between 10 and 12 px.

Ok thats a bit weird, maybe @sonvnn can have a look, probably something with the Section template? • What is the precise option you choose for the Section?

I see you reopen the discussion, do you have another issue?