Floating buttons : How to display 2 modules ?
- Posted by solsix (6) Offline
I created 2 modules, with 2 different module classes jfab1 and jfab2, and the same position debug.
The modules are published on every pages.
They are one above the other, I do not know how to separate them.
In css styles, I tried to set positions like that :
.jfab_wrapper {
bottom: 50%!important;
}
.jfab1_main_btn {
margin-top: -70px !important;
}
.jfab2_main_btn {
margin-top: 70px !important;
}
Or like that
.jfab_wrapper .jfab1_main_btn {
bottom: 50% !important;
}
.jfab_wrapper .jfab2_main_btn {
bottom: 40% !important;
}
And so many others tests
The buttons are there, but at the same position, one above the other.
Thanks a lot
1 year 2 months ago - 1 year 2 months ago #7
by solsix
The modules are published on every pages.
They are one above the other, I do not know how to separate them.
In css styles, I tried to set positions like that :
.jfab_wrapper {
bottom: 50%!important;
}
.jfab1_main_btn {
margin-top: -70px !important;
}
.jfab2_main_btn {
margin-top: 70px !important;
}
Or like that
.jfab_wrapper .jfab1_main_btn {
bottom: 50% !important;
}
.jfab_wrapper .jfab2_main_btn {
bottom: 40% !important;
}
And so many others tests
The buttons are there, but at the same position, one above the other.
Thanks a lot
Last edit: 1 year 2 months ago by solsix. Reason: typing error
The topic has been marked as resolved.
- Posted by TemplatePlazza (5260) Offline
Try to publish it in different positions. Please let me know if you have done it
1 year 2 months ago #8
by TemplatePlazza
The topic has been marked as resolved.
- Posted by solsix (6) Offline
OK the module with class jfab2 is on position right, the module with class jfab1 is on debug.
1 year 2 months ago #9
by solsix
The topic has been marked as resolved.
- Posted by TemplatePlazza (5260) Offline
OK, thanks. I made some quick tests on my local computer, however, it appears that enabling support for two module positions isn't as straightforward as I initially thought, and it will need some modifications to the module files. Given that I currently lack the time to make these changes, I believe it's safer to state that the module does not currently support multiple publishing, at least for now. I apologize for this inconvenience.
1 year 2 months ago #10
by TemplatePlazza
The topic has been marked as resolved.