fbpx
Welcome, Guest
Username: Password: Remember me

TOPIC: (SOLVED)how to make a spacer in the layout manager ?

how to make a spacer in the layout manager ? 1 week 3 days ago #23099

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Premium Member
  • Posts: 119
  • Thank you received: 1
  • Karma: 0
Can you tell me how to make a spacer in the Layout manager?

As example if you make a 10-2 columns setup and put only a module position on the 2 side and fill that module, you end-up with your module on the left?

Is this normal behavior ?

How to be sure it’s stay on the right even if the (10) side is empty?
The topic has been locked.

how to make a spacer in the layout manager ? 1 week 2 days ago #23119

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3877
  • Thank you received: 571
  • Karma: 99
Since, you are working on a RTL website by default it will always float towards the left.
It's default Joomla's behavior to NOT render empty modules or even leave empty space. Hence the function CountModules docs.joomla.org/Counting_modules_in_a_given_module_position.

You can very well use custom classes (col-2 to have 2 out of 12 width) and float-right to float it towards the right (But, but but it will always float right regardless of the modules published in the other positions in the same row).

Docs on floating: getbootstrap.com/docs/4.0/utilities/float/
Docs on Grid: getbootstrap.com/docs/4.0/layout/grid/

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

how to make a spacer in the layout manager ? 1 week 1 day ago #23138

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Premium Member
  • Posts: 119
  • Thank you received: 1
  • Karma: 0
I ask, because RocketTheme and other framework offer “Spacer” to push/place element.

Suggestion:

• Having an easy way (not bootstrap knowledge required), in the layout manager, to align, at least, horizontally elements in an Astroid position

— Personally, I’m ok with using bootstrap code but for all the Newbies out there having to learn some code to simply align an element in their layout position is really a drag.
Also you should have a clear index of these important code on your site as an helper, having to search the internet for it can also be a drag for anybody using your framework
The topic has been locked.

how to make a spacer in the layout manager ? 1 week 1 day ago #23162

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3877
  • Thank you received: 571
  • Karma: 99
Alright, we'll work on better documentation for this.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

how to make a spacer in the layout manager ? 1 week 1 day ago #23167

  • Chacapamac
  • Chacapamac's Avatar
  • Offline
  • Premium Member
  • Posts: 119
  • Thank you received: 1
  • Karma: 0
Yes, I will do a page with the basic horizontal align, the padding and some links to Bootstrap like —> getbootstrap.com/docs/4.5/getting-started/introduction/

- You got a nice cheatset here for the responsive classes —> code.luasoftware.com/tutorials/bootstrap...ed-on-viewport-size/


If you simplify the life of your customers, they will stand by you.

Resolved.
The topic has been locked.

how to make a spacer in the layout manager ? 1 week 1 day ago #23168

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3877
  • Thank you received: 571
  • Karma: 99
Noted, Thanks.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.
Moderators: chandandeep
Time to create page: 0.337 seconds