Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4526

    Hello,

    i want to change the opacity in the image caption at feature images. I add the following code into custom.css:

    ‘.feature_excerpt {

    -moz-border-radius: 5px 5px 5px 5px;

    background: none repeat scroll 0 0 #787978;

    bottom: 22px;

    color: #FFFFFF;

    left: 22px;

    max-width: 80%;

    min-width: 50%;

    opacity: 0.1;

    padding: 2% 3%;

    position: absolute;

    visibility: hidden;

    z-index: 100;

    }’

    but the opacity value seems to have be no effect. If i edit it with firebug it works.. what i do wrong ?

    btw: is there a way to change the font color of the slide title ?

    Thanks

    In german:

    Ich versuche den Slide Title des Featured Images die Transparenz zu ändern. Ich habe bereits oben genannten css code in die custom.css eingefügt. Irgendwie möchte er jedoch die Änderungen nicht annehmen. Mittels Firebug kann ich den opacity Wert wie gewünscht ändern aber in der css tut sich nichts. Kann es sein, dass es über das Javaskript gesteuert wird ?

    Wenn wir schon dabei wären: Gibt es einen einfachen Weg die Schriftfarbe des Slide Titels zu ändern ?

    Danke

    Wäre nett wenn ihr mir da helfen könnt.

    Gruß

    #46682

    Hey,

    The image opacity is controlled by an inline style, not by javascript. You can change this in the CSS file by adding the !important tag to the new opacity value which will have priority over the default 0.8. Use this code instead of the code you posted above:

    .feature_excerpt {
    -moz-border-radius: 5px 5px 5px 5px;
    background: none repeat scroll 0 0 #787978;
    bottom: 22px;
    color: #FFFFFF;
    left: 22px;
    max-width: 80%;
    min-width: 50%;
    opacity: 0.1 !important;
    padding: 2% 3%;
    position: absolute;
    visibility: hidden;
    z-index: 100;
    }

    The slide headings colour are controlled by this code (style.css line 2246):

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, legend a, .sliderheading a {
    color: #333333;
    }

    You can change it here but this will affect every heading so if you need to, duplicate it and adjust the elements which have the new style to be more specific.

    James

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘problem with opacity in feature_excerpt’ is closed to new replies.