help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Event items are against each other when viewed on mobile
Event items are against each other when viewed on mobile
1 year 3 months ago - 1 year 3 months ago
Hi,
Recently I was advised on this forum to set the responsive display to a 1 horizontal line by entering something in that field.
That works well.
But when I view it on a mobile phone there is no space between the items. They stand against each other.
And in the JEM demo the items are aligned to the top left and in my site they are not
Can I solve both issues with css and if so how?
Recently I was advised on this forum to set the responsive display to a 1 horizontal line by entering something in that field.
That works well.
But when I view it on a mobile phone there is no space between the items. They stand against each other.
And in the JEM demo the items are aligned to the top left and in my site they are not
Can I solve both issues with css and if so how?
Kind regards,
Wouter
Wouter
Last edit: 1 year 3 months ago by WoodyF4u.
Please Log in or Create an account to join the conversation.
Re: Event items are against each other when viewed on mobile
1 year 3 months ago - 1 year 3 months ago
Please give more details: which template (cassiopeia?) which JEM responsive template style (with empty tablewidth or not / mobile landscape or portrait...)
I can't reproduce
I can't reproduce
Last edit: 1 year 3 months ago by jojo12.
Please Log in or Create an account to join the conversation.
Re: Event items are against each other when viewed on mobile
1 year 3 months ago - 1 year 3 months ago
Hi Woody,
thank you for your report: I will check it out.
for a quick fix you can add some css:
add white-space: nowrap; to #jem .jem-event-info
and add
(or take an other breakpoint)
Does this help?
thank you for your report: I will check it out.
for a quick fix you can add some css:
add white-space: nowrap; to #jem .jem-event-info
Code:
#jem .jem-event-info {
margin-right: 15px;
white-space: nowrap;
}
and add
Code:
@media (max-width: 768px) {
#jem .jem-event-info {
width: 100%;
}
}
Does this help?
Last edit: 1 year 3 months ago by hekla.
Please Log in or Create an account to join the conversation.
Re: Event items are against each other when viewed on mobile
1 year 3 months ago - 1 year 3 months ago
No I'm sorry.
I have added the css but it didn't solved my issue.
You can see it at: marc-alberto dot com
I have added the css but it didn't solved my issue.
You can see it at: marc-alberto dot com
Kind regards,
Wouter
Wouter
Last edit: 1 year 3 months ago by WoodyF4u.
Please Log in or Create an account to join the conversation.
Re: Event items are against each other when viewed on mobile
1 year 3 months ago - 1 year 3 months ago
You have to comment out /* flex-wrap: wrap; */ in
And then you need some styling for this view to separate the events from eachother, like e.g in you custom.css file add
or similar
Code:
#jem .jem-list-row {
display: flex;
flex-direction: row;
/* flex-wrap: wrap; */
justify-content: flex-start;
}
And then you need some styling for this view to separate the events from eachother, like e.g in you custom.css file add
Code:
@media (max-width: 768px) {
#jem .eventlist li {
padding: 10px 0;
border-bottom: 1px solid #ccc;
}
}
or similar
Last edit: 1 year 3 months ago by hekla.
Please Log in or Create an account to join the conversation.
Re: Event items are against each other when viewed on mobile
1 year 3 months ago
Thanks it is a bit better now.
But do you know if it is possible to start every row akigned top left?
Now it is vertically centered.
And is it possible to use specific width for the columns.
Cause now on a mobile telephone every data in a row starts at a different place which make it a bit messy.
But do you know if it is possible to start every row akigned top left?
Now it is vertically centered.
And is it possible to use specific width for the columns.
Cause now on a mobile telephone every data in a row starts at a different place which make it a bit messy.
Kind regards,
Wouter
Wouter
Please Log in or Create an account to join the conversation.
Time to create page: 0.614 seconds