Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi Rod,
I swear I had this working recently by following advice in your tips and tricks with this code added to my custom css file.
/*Mobile menu suppression */
#page_pallet_T1 .menu-item:nth-child(2) > .sub-menu {display:none;
}
The cPanel editor whinged about .menu item and .sub-menu being overqualified with an li and ul prefix but taking them out does not seem to make a difference for me.
Does this code still work for you? I'm using PHP 7.2.31
Thanks.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
It works fine for me.
Your site isn't currently using that css though.
Can you post a link to a site using that css?
I don't think php version has any affect on css.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
That is weird as I have just been in the domain editing that css in the link in my signature. I’ll go and login again but the file is custom-copyright.css
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Hi Rod,
I've just looked at all my page templates and they all point to custom-copyright.css. I can see that the style inspector in the Firefox picks that up with 9 rules and also a css with 2 rules which the the Raleway font that I use.
The custom-copyright.css file contains these lines
/* If your page background-color is red after enabling the PHPlugins function, then you know it's working.
* Delete this after confirmation, because it's hideous :
*/
.my-popup {
color: rgb(255,255,255);
background: #2a2a4a;
background: linear-gradient(#2a2a4a, #37377F);
padding-top: 10px;
padding-bottom: 5px;
margin-left: 12px;
margin-right: 12px;
}
.popup-title {
background: #2a2a4a;
background: linear-gradient(#2a2a4a, #37377F);
padding: 10px;
color: white;
}
#popup {
padding-top: 0;
padding-left: 0;
padding-right: 0;
}
#popup p {
margin-left: 12px;
margin-right: 12px;
}
#my-popup {
padding-left: 0;
padding-right: 0;
}
#my-popup p {
margin-left: 12px;
margin-right: 12px;
}
@media screen and (min-width:1025px) {
#popup {
max-width: 50%;
}
/*Pop-up Close button styling for Backlight */
#popup .fancybox-close-small {
color: white;
}
}
#venue, #dates {width:25%;
}
/*Mobile menu suppression */
#page_pallet_T1 .menu-item:nth-child(2) > .sub-menu {display:none;
}
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
the problem is a "misspelling" in the selector.
You have:
#page_pallet_T1
it should be
#page__pallet__T1
with two underscores
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Thanks Rod.
I'll have to read up on double underscores.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Nothing special about double underscores, it’s just what Matt chose for that ID (you’ll find it elsewhere in Backlight too)
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
OK, thanks.
Regards,
TomO
Just a simple photographer
Live site at http://tomowens.openpoint.co.uk/
Offline
Pages: 1