How do I add colors to text on this code snip? RRS feed

  • Question

  • User1216627406 posted

    Greetings experts,

    I am using JonDesign's Carousal gallery on my asp.net code. The link is below:


    I will like to change the text color for:

     textShowCarousel: 'OUR VALUES', to red.

    I am not able to find an example on how to do this.

    Any ideas?

    		/* Carousel options */
    		carouselMinimizedOpacity: 0.4,
    		carouselMinimizedHeight: 20,
    		carouselMaximizedOpacity: 0.9,
    		thumbHeight: 75,
    		thumbWidth: 100,
    		thumbSpacing: 10,
    		thumbIdleOpacity: 0.2,
    		textShowCarousel: 'OUR VALUES',
    		showCarouselLabel: true,
    		thumbCloseCarousel: true,
    		useThumbGenerator: false,
    		thumbGenerator: 'resizer.php',
    		useExternalCarousel: false,
    		carouselElement: false,
    		carouselHorizontal: true,
    		activateCarouselScroller: true,
    		carouselPreloader: true,
    		textPreloadingCarousel: 'Loading...',
    		/* CSS Classes */
    		baseClass: 'jdGallery',
    		withArrowsClass: 'withArrows',
    		/* Plugins: HistoryManager */
    		useHistoryManager: false,
    		customHistoryKey: false,
    		/* Plugins: ReMooz */
    		useReMooz: false

    Thanks in advance

    Monday, November 23, 2015 1:27 AM


  • User1724605321 posted

    Hi simflex,

    Please use F12 Developer Tools to find the element which contains the value "'OUR VALUES" ( jump to a specific element on a webpage, press Ctrl+B) . Then you could make the text red (maybe it is a <div> or <span> element ) by :

        color: red;

    Hope it helps .

    Best Regards,

    Nan Yu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 23, 2015 9:28 AM