Change text color depending on carousel image
-
Hi everyone,
I have an about text which is #0000ad and when there is a dark image displayed, I want it to change to #ffffff but I have been looking everywhere and could not find the solution, although changing the caption and number colors was possible with the alt-button class.
the page link is: http://franmonroy.com/carousel/
-
oh yea mmh :/ i think its not possible
-
I have also tried to get similar system working, but without luck. I'm using the carousel as a full-screen slider and would love to change colors of all texts when coming to a slide that uses the alternative buttons. I thought this either of these would work but no luck yet…
<script>
window.laytheme.on("newpageshown", function(){
if (jQuery("div").hasClass(".alt-buttons")) {
jQuery("._Menu").css("color", "#BA4823");
}
});
</script>OR
<script>
window.laytheme.on("newpageshown", function(){
if (jQuery(".alt-buttons")[0]){
jQuery("._Menu").css("color", "#BA4823");
}
});
</script>Any idea is this even possible or have I misunderstood something completely? Having an option for ie negative colored captions and numbers on certain slides would make the carousel add-on more flexible especially as there's already the option to use alternative buttons.
Nevertheless, I understand that I'm asking a way more than what the carousel add-on is proabably meant to be, so I understand if this is not something that will ever be possible...
-
hey its not possible sorry
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it