Hello
Is there any way to change the layout of the image holders in the Grid Format? I am trying to get 4 image holders on the top row ( instead of 2) to avoid scrolling down 2 columns of images...
Thanks in advance
Nyree Williams
Re: Grid Format - How can I get 4 image holders on top row?
Couple of options in this thread Nyree:
Re: Grid Format - How can I get 4 image holders on top row?
Apologies Nyree, I just realised that I think I misunderstood - my response relates to a separate issue.
Re: Grid Format - How can I get 4 image holders on top row?
no problem! thanks for trying to help.
I hope someone can sove the issue of the long vertical grid of course contents and suggest a horizontal grid format layout instead using this plugin, otherwise I suppose I will use the alternative approach of creating linked images in the top section for each course.
Nyree
Re: Grid Format - How can I get 4 image holders on top row?
in the old version I changed the css file like this but I didn't try it for the new version
change the grid.css file.
#iconContainer {
width: 100%;
overflow: hidden;
padding: 0 0 50px 0;
margin-left: 20px;
margin-right: auto;
}
Re: Grid Format - How can I get 4 image holders on top row?
Hi Julia
I tried this in 2.2 but it doesn't seem to work
Thanks anyway for the suggestion
Nyree
Re: Grid Format - How can I get 4 image holders on top row?
i have just uploaded a major update to Grid that brings back this functionality. Details in this forum post - http://moodle.org/mod/forum/discuss.php?d=196716
Julian
Re: Grid Format - How can I get 4 image holders on top row?
I applied Julian's new update but I'm still no wiser as to how to increase the number of blocks on the top row... I suppose its really simple but I don't know what to change and in which files
Can anyone give me a clue?
Thanks
Re: Grid Format - How can I get 4 image holders on top row?
Dear Nyree,
The latest version that Julian released does not have a grid.css file in the folder, does yours have one? That old version contained this line:
.course-content #iconContainer { width: Xpx} (you can change it to 100%
Now, in the styles.css file, the .course-content #iconContainer does not have a width, so it takes all the free space.
Hope that helps,
Carlos
Re: Grid Format - How can I get 4 image holders on top row?
PERFECT!
(I knew there was a simple solution)
Thanks very much for your help
Nyree
Re: Grid Format - How can I get 4 image holders on top row?
Hello I just tried what suggested to get more than one column but nothing happens.
I did clean the cache and I did change the style.css to something like (I actually did few tests but none worked):
.course-content #iconContainer {
width: 30%;
/* overflow: auto; */
padding: 0 0 50px 0;
margin-left: 20px;
margin-right: auto;
does anyone know?
Re: Grid Format - How can I get 4 image holders on top row?
Dear Imbu,
What version of the format and Moodle are you working with?
Cheers,
Gareth