Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MonsterGallery Plugin
#14
(2023-05-26, 18:01:55)multicolor Wrote: Shortcode you should paste on ckeditor, not template. Remember about get_header() and get_footer() on yours template

Tested with a blank template, I notice the styles were injected both at the <HEAD> section as well as within the page where I inserted the shortcode. There are also additional inline styles in the page. Is it meant to be like that?

Code:
<HEAD>
<link rel="stylesheet" href="glightbox.min.css">
</HEAD>
<BODY>
<main>
<link rel="stylesheet"href="glightbox.min.css">
<style>
.monsterGallery-grid{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;gap:3px
}

@media(max-width:768px){
    .monsterGallery{
        width:95%;
        margin:0 auto;
        display:flex;
        flex-wrap:wrap;
        flex-direction:column;
    }

.monsterGallery-grid a{
    margin:0;
    padding:0;
}

.monsterGallery-grid img{
    max-width:100% !important;}
}
</style>
<div class="monsterGallery-grid">...</div>
</BODY>
Reply


Messages In This Thread
MonsterGallery Plugin - by multicolor - 2023-01-07, 09:32:55
RE: MonsterGallery Plugin - by davetest - 2023-01-07, 21:03:16
RE: MonsterGallery Plugin - by multicolor - 2023-01-07, 21:37:58
RE: MonsterGallery Plugin - by Oleg06 - 2023-01-07, 21:35:26
RE: MonsterGallery Plugin - by Oleg06 - 2023-01-07, 21:36:47
RE: MonsterGallery Plugin - by multicolor - 2023-01-08, 02:34:51
RE: MonsterGallery Plugin - by Oleg06 - 2023-01-08, 06:01:55
RE: MonsterGallery Plugin - by multicolor - 2023-01-08, 07:16:30
RE: MonsterGallery Plugin - by multicolor - 2023-02-02, 07:09:37
RE: MonsterGallery Plugin - by tommy - 2023-05-26, 13:19:07
RE: MonsterGallery Plugin - by Oleg06 - 2023-05-26, 13:33:10
RE: MonsterGallery Plugin - by tommy - 2023-05-26, 14:21:59
RE: MonsterGallery Plugin - by multicolor - 2023-05-26, 18:01:55
RE: MonsterGallery Plugin - by tommy - 2023-05-26, 21:00:40
RE: MonsterGallery Plugin - by multicolor - 2023-05-26, 22:40:09
RE: MonsterGallery Plugin - by tommy - 2023-05-26, 23:11:34
RE: MonsterGallery Plugin - by multicolor - 2023-05-27, 05:02:49
RE: MonsterGallery Plugin - by tommy - 2023-05-27, 10:32:43
RE: MonsterGallery Plugin - by multicolor - 2023-06-02, 04:24:27
RE: MonsterGallery Plugin - by Tzvook - 2023-09-23, 19:59:51
RE: MonsterGallery Plugin - by islander - 2023-09-24, 00:35:07
RE: MonsterGallery Plugin - by Tzvook - 2023-09-24, 00:47:27
RE: MonsterGallery Plugin - by islander - 2023-09-24, 01:10:32
RE: MonsterGallery Plugin - by Tzvook - 2023-09-24, 01:47:49
RE: MonsterGallery Plugin - by multicolor - 2023-09-24, 02:30:49
RE: MonsterGallery Plugin - by Tzvook - 2023-09-24, 03:55:36
RE: MonsterGallery Plugin - by Tzvook - 2023-09-26, 00:04:52
RE: MonsterGallery Plugin - by multicolor - 2023-09-24, 04:47:03
RE: MonsterGallery Plugin - by multicolor - 2023-09-26, 01:47:15
RE: MonsterGallery Plugin - by Tzvook - 2023-09-26, 02:25:46
RE: MonsterGallery Plugin - by islander - 2023-09-26, 02:35:11
RE: MonsterGallery Plugin - by Tzvook - 2023-09-26, 02:54:17
RE: MonsterGallery Plugin - by islander - 2023-09-26, 06:59:07
RE: MonsterGallery Plugin - by Tzvook - 2023-09-27, 04:12:02
RE: MonsterGallery Plugin - by Melyssfrtz77 - 2024-02-15, 22:39:15
RE: MonsterGallery Plugin - by islander - 2024-02-15, 22:55:04



Users browsing this thread: 2 Guest(s)