Tagged: Lightbox, Magnific popup, MagnificPopup
-
AuthorPosts
-
October 12, 2014 at 2:54 am #334428
Grüß Gott, dear Enfold support team!
I’m using the latest version of Enfold theme 3.0.1.
At Enfold theme options “General Styling” I took the predefined color scheme “Black” and choosed for “Primary Color” and “Highlight color” some blue values instead of the predefined yellow values.
But, my color settings are not recognized by the Magnific-Popup lightbox (I like to use external links in the title text of the lightbox).
It took me a while to figure out a workaround in my custom CSS file:.mfp-title { /* title text of "Magnific-Popup" lightbox */ color: #ffffff; /* white */ } .mfp-title a:link, a:visited { /* link colors in title text of "Magnific-Popup" lightbox */ color: #1278cc; /* a light blue */ } .mfp-title a:hover, a:active { /* link colors in title text of "Magnific-Popup" lightbox */ color: #17a2ff; /* an even more light blue */ }
The good news: this workaround works.
But, every time I change the color settings at “General Styling” I have to copy the new color values to my custom CSS.Is it possible to set a theme related link to the color settings in my custom css instead of setting hard coded color values?
An even better solution would be, the Enfold theme would recognize my color settings to let the lightbox know my values of the link colors.
Is this a bug of the theme?
Or a missing feature?Kind regards,
Eckhard
October 14, 2014 at 9:33 pm #335757Hey Eckhard!
I’m not sure if this is possible with how the dynamic stylesheet works right now, if you check at the generated selectors (http://screencast.com/t/VvsISYzsrX) you’ll note that they make use of container classes like
main_color
,header_color
,socket_color
, etc. the problem is that the Magnific Popup element appears outside of these containers (http://screencast.com/t/VvsISYzsrX).Maybe a solution would be to add a new color scheme (PopUp Colors?) to the theme options, feel free to request something like that here.
Regards,
JosueOctober 20, 2014 at 12:37 pm #338277Josue, thanks for your reply!
Unfortunately I’m not a CSS-Expert. My fiddling with CSS is a lot of try and error. Therefore I don’t have the knowledge to formulate an adequate feature request.
Thanks again for your support!Kind regards,
Eckhard
October 20, 2014 at 3:37 pm #338393Hey Eckhard!
I’ll report this anyways so hopefully Kriesi comes up a proper solution :)
Cheers!
JosueOctober 20, 2014 at 7:04 pm #338550Thanks, Josue!
-
AuthorPosts
- The topic ‘Link colors in title text of "Magnific-Popup" lightbox (bug or missing feature?)’ is closed to new replies.