- Posts: 7
- Thank you received: 0
Hide Full Carousel on mobile
-
temple8
Inactive member - Topic Author
- New Member
Less
More
10 years 4 months ago - 10 years 4 months ago #41022
by temple8
Hide Full Carousel on mobile was created by temple8
I would like to hide the full carousel module on "Home" menu item when display is less than 960px and display Image Module instead.
Currently, Carousel displays only on "Home" at all sizes and Image Module displays on all other menus regardless of screen size.
Also, these two modules are in the same position (header1).
How might I accomplish swapping full carousel module with image module on "Home" menu only when display is less than 960px? Whether it happens with CSS, PHP, module settings in administrator or some combination, I don't really care. I just need to know where to edit.
Site is temple8.net
Thanks!
Currently, Carousel displays only on "Home" at all sizes and Image Module displays on all other menus regardless of screen size.
Also, these two modules are in the same position (header1).
How might I accomplish swapping full carousel module with image module on "Home" menu only when display is less than 960px? Whether it happens with CSS, PHP, module settings in administrator or some combination, I don't really care. I just need to know where to edit.
Site is temple8.net
Thanks!
Last edit: 10 years 4 months ago by temple8.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
10 years 4 months ago #41024
by milos
Replied by milos on topic Hide Full Carousel on mobile
Hi,
You can create a new Custom HTML module (just put the static image in it) in the same position where Hot Full Carousel is published. Add Module Class Suffix, in example -formobile
Then edit file template_css.css and at the bottom of this file add:
Hope this helps.
You can create a new Custom HTML module (just put the static image in it) in the same position where Hot Full Carousel is published. Add Module Class Suffix, in example -formobile
Then edit file template_css.css and at the bottom of this file add:
Code:
.moduletable-formobile { display: none; }
@media (max-width: 960px) {
.hero { display: none; }
.moduletable-formobile { display: block; }
}
Hope this helps.
Please Log in to join the conversation.
-
temple8
Inactive member - Topic Author
- New Member
Less
More
- Posts: 7
- Thank you received: 0
10 years 4 months ago #41027
by temple8
Replied by temple8 on topic Hide Full Carousel on mobile
Cool, I actually found the other media queries and just dropped the class definitions above in each of those media queries. Also added a suffix of -nosocialmobile to the social media module in top2 in order to show/hide that as well. Everything functioning just like I want it now. Thank you!
Please Log in to join the conversation.
-
skytech
Inactive member - Member
Less
More
- Posts: 90
- Thank you received: 0
8 years 4 months ago #46720
by skytech
Replied by skytech on topic Hide Full Carousel on mobile
Followed all the instructions you gave below and the custom module with the banner is still showing on mobile view, please is there any other thing that i need to do, to make it work.
I look forward to hearing from you soon. thank you very much for your usual support.
I look forward to hearing from you soon. thank you very much for your usual support.
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6744
- Thank you received: 716
8 years 4 months ago #46721
by milos
Replied by milos on topic Hide Full Carousel on mobile
Hello,
What's link of your site?
Thanks,
Milos
What's link of your site?
Thanks,
Milos
Please Log in to join the conversation.
-
skytech
Inactive member - Member
Less
More
- Posts: 90
- Thank you received: 0
8 years 4 months ago #46722
by skytech
Replied by skytech on topic Hide Full Carousel on mobile
The Website link is
sprovia.com/
I look forward to hearing from you soon. thank you for your kind responses.
I look forward to hearing from you soon. thank you for your kind responses.
Please Log in to join the conversation.
Time to create page: 0.081 seconds