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.

Styling for grid 1

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

Hi,

I would like to have the same styling for the grid 1 row as abovecontent and belowcontent because instead of a 3-column grid module, I need 3 1-column modules side by side. I was thinking of using grid 1, grid 2 and grid 3 but I like the way abovecontent and belowcontent have a background that looks like a 'page'.

Can you point me in the right direction as to what css to change?

Any help is appreciated!

Joanne
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Joanne,

Do you have a link for the site so far?

Cheers
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Oops! Sorry about that.

37.60.247.206/~jlawma76/


Joanne
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Joanne,

Should I be seeing grid1 content on the home page?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No, I haven't set up the modules yet. I am still waiting for my client to make up her mind about what exactly she wants on the home page. I thought I'd have an answer sooner. Sorry.

Can we just wait on this and I'll let you know when I have something for you to look at?

Thanks.

And Happy New Year, btw!

Joanne
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
Yes sure no problem

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
And Happy New Year from me and the team :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Again,

I have set up a grid1 row using module positions grid1, grid2 and grid3. Can you help me style them to look like abovecontent?

Thanks,

Joanne
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Joanne,

Just checking but you have no title on the grid1 position - is that correct?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Correct. I am not showing the titles right now.
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
Can you just add a quick pic with arrows pointing to the areas you want to change?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I'm not very good at this but here it is. Basically, I'd like to give grid1 row a border like abovecontent and belowcontent. I tried using this css:

#grid1wrap {
background: #fff none repeat scroll 0 0;
box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.05);
float: left;
margin-bottom: 60px;
padding: 60px 30px;
width: 100%;
}


...but it didn't give me the 'page' effect -- a white box with the background color #f2f2f2 -- the same styling as #mid-col-inner.

Maybe it's not possible.

Joanne
grid1-to-look-like-abovecontent.JPG
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
The whole reason I'm doing this is because the three modules on the homepage need slightly different styling and I couldn't get that using a 3-column grid in the #abovecontent position. The video in the middle doesn't need a 'readmore' and the other two link to two different categories. I couldn't figure out how to achieve this using a 3-column grid.

Maybe I'm missing something and there's an easier way. I might be asking for more headaches because if I hide the main content on the homepage, I lose the #belowcontent -- and if I don't hide the main content on the homepage, I have an empty #mid-col-inner.

Joanne
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Joanne,

It's a little complicated by the fact there is grid1, grid2 and grid3

So the styling can't apply to just the one position

#grid1wrap {
box-shadow: 8px 8px 0 rgba(0,0,0,0.05);
padding: 60px 30px;
background: #f2f2f2;
}

#grid1wrap #grid1, #grid1wrap #grid2, #grid1wrap #grid3 { background:#fff;padding: 60px 30px;webkit-box-shadow: 8px 8px 0 rgba(0,0,0,0.05); -moz-box-shadow: 8px 8px 0 rgba(0,0,0,0.05); box-shadow: 8px 8px 0 rgba(0,0,0,0.05);}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks, Paul.

Your code works well -- but I think I'll have to come up with another solution. I still have the #mid-col-inner problem. I can't turn that off without losing #belowcontent etc. I need to rethink this.

Thanks again for all your help!

Joanne
  • joanne721's Avatar
  • joanne721
  • 6 Month Developer
  • 285 posts
  • Karma: 0
The administrator has disabled public write access.
No problem

Good luck with it

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

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

Happy Campers