Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #547620

    Hi all
    i put this shortcode but is not transparent, is gray or black or other solid color
    .boxed#top { box-shadow: 0 0 5px 3px #888888; }
    or
    .boxed#top { box-shadow: 0 0 5px 3px #000000; }

    Grey is not well on dark backgrounds. and black looks too crisp.
    Is it possible to change the opacity of the shadow? Is it possible to put it in black and change its opacity?

    http://ganubis.com/imagen.jpg

    • This topic was modified 9 years ago by Tokyo.
    #547650

    Hey Tokyo!

    You can use, istead of the HEX code, an rgba:

    example:

    rgba ( 0,0,0,0.5)

    that will work for what you need to do.

    Cheers!
    Basilis

    #548063

    Hey Basillis thank you.

    Shomthing like this?:

    .boxed#top { box-shadow: 0 0 5px 3px rgba ( 0,0,0,0.5); }

    sorry im not an expert.
    thank you very much

    #548450

    Hey!

    Black is not working? Perhaps something lighter like #333 is what your wanting? Can you send us a link to your page so we can take a look?

    Best regards,
    Elliott

    #549483

    http://www.ganubis.com thanks Elliott

    #549486

    Hi!

    Yes the code you posted is correct.
    Let us know if you tried it and it is not working, so we can check it out again

    Cheers!
    Basilis

    #549591

    hi

    .boxed#top { box-shadow: 0 0 5px 3px rgba ( 0,0,0,0.5); }

    i tried it but it is not working, thanks :)

    #549713

    Hi!

    Please try changing the code to following one

    .boxed#top {
        box-shadow: 0 0 20px 6px #000000;
    }

    I think it looks good. If you would like to show it differently, please show us an example.

    Best regards,
    Yigit

    #549992

    finlay look perfect

    .boxed#top {
    box-shadow: 0 0 20px -6px #000000;
    }

    Yigit thank you very muuuuuch :) :) :)

    thanks to all, for your time.

    #550212

    Hi,

    Great, glad we could help :-)

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.