Transparent background for menu

  • Author
    Posts
  • #68832
    PierreRaby
    Power User

    I am looking for help on how to make the background of the primary navigation menu semi transparent. Any help would be appreciated. Thanks.

    Website: testing2.clanraby.ca/episode-5

    #68927
    Zed
    Cryout Creations mastermind

    Using rgba() color values for the backgrounds usually does the trick (if all other intermediary elements are also backgroundless).


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #68943
    PierreRaby
    Power User

    Yes. I know where to put the css code but i dont know which css tag to use. Thanks.

    #68997
    PierreRaby
    Power User

    Are RGB codes now accepted in the color settings of the parabola settings or must it be done in the additional CSS.

    I am working on two versions of the same site. One in french and one in the other. The french version has an RGB code in the the background color of the main menu, it is #rgba(24, 24, 24, 0.15). The shading i am looking for appears in the main menu. I tried the same code in the english version of the site and it does not work. Not sure what to check anymore

    The example to look at is in french: http://testing2.clanraby.ca/episode-1/ and English is at http://testing3.clanraby.ca/episode-1/

    Any suggestions anyone ???

    #69455
    Zed
    Cryout Creations mastermind

    To use rgba() color values you’ll need to write and use custom styling.

    The theme uses WordPress’ core color selector which only supports RGB colors, without opacity. The color fields also get sanitized on save/display so you’ll end up with invalid #rgba(…) values.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Transparent background for menu’ is closed to new replies.