Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Base3 and module positions

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi, I added a module in www.redlion-sassari.it website. On grid1wrap i put grid1 (span4) grid8 (span8) and grid5 (span4) and i want grid5 to take place just under grid1 and near grid8 (that has the highest height of the 3 modules)...but instead grid5 take place under grid1 and grid8 but not near grid8.... How can i do to make it took place near grid8 and fill the empty space?


thanks!

Mario
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
What do you get if you have two grid1 modules rather than an a grid5?
And set the module order as required in module manager?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
paulus103 wrote:
What do you get if you have two grid1 modules rather than an a grid5?
And set the module order as required in module manager?

Cheers
Paul

Yeah I already tried that solution and it works perfectly....but in responsive layout (mobile) when modules are span12...i see:

grid1
grid1
grid8

....and that's not correct 'cause it has to be in order of importance:

grid1
grid8
grid1

that's why i chose to put grid5 in grid1wrap...to see in mobile mode:

grid1
grid8
grid5
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
hmm see you point

At the moment can't see a way of doing this position wise

I'll carry on thinking

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Could you hide the second grid1 position and then add a different position to show only on mobile width?

obviously would mean having two modules with same content

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
paulus103 wrote:
hmm see you point

At the moment can't see a way of doing this position wise

I'll carry on thinking

Cheers
Paul

Ok Paul, thank you! Anyway it's kinda strange that a module in the same grid wrap doesn't fill the empty space.... i could understand this behavior if i put grid5 in a different grid wrap (grid2wrap for example)
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Its the fact that its on another row of modules so is below the grid5 module
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
But turning off modules using two grid1s might do the trick - not sure if you saw that comment :)

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
paulus103 wrote:
Could you hide the second grid1 position and then add a different position to show only on mobile width?

obviously would mean having two modules with same content

Cheers

How can i hide it? If i hide the grid1 position in layout manager i'll hide all the modules in grid1 position....isn't it?
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
paulus103 wrote:
Its the fact that its on another row of modules so is below the grid5 module

Nope...it's the same row....that is strange....see the code in the inspector...
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Sorry row was perhaps the wrong word

It takes up the full width of the available width so the module is below the grid8 content
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 9 years 11 months ago by manh.
The administrator has disabled public write access.
paulus103 wrote:
Sorry row was perhaps the wrong word

It takes up the full width of the available width so the module is below the grid8 content

nope, it doesn't take the full width...grid8 has span8 and grid5 has span4....that's why it works if i choose to put the module in grid1....position... see the code
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
This is with grid1 grid8 and grid5 on same row or grid-wrap
Schermata2014-05-19alle12.25.18.png


Schermata2014-05-19alle12.26.41.png
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
And this is putting two modules in grid1 position:
Schermata2014-05-19alle12.35.37.png


Schermata2014-05-19alle12.36.31.png
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hey MArio,

Does this work?

Add float:right to the #grid8 in the custom.css file?

eg #grid8 {float:right}

That does the trick for me in the inspector.

Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
The following user(s) said Thank You: Mario Frongia
As you can see with this two screenshots...grid8 and grid5 are in the same row with grid1 and doesn't take full width....
Schermata2014-05-19alle12.41.39.png


Schermata2014-05-19alle12.41.54.png
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
I think Anthony's solution should do the trick for you

Does it work on the site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Mario Frongia
Yeah....with float:right it works!!!! So simple.... why i didn't think of that?
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.
Just so you know its expected behaviour for the positions to behave like this

as from your screenshot the widths exceed 12 so grid5 drops below the other two modules

Anthony's solution is way round this :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thank you so much guys, you're always great and helpful!!!
  • Mario Frongia's Avatar
  • Mario Frongia
  • 6 Month Developer
  • 94 posts
  • 2 Thanks
  • Karma: 1
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers