WordPress.org

Forums

I dont know how to change the color of Menu buttons? Plz help (3 posts)

  1. hepismajli
    Member
    Posted 1 year ago #

    This is the code for 3 menu buttons that are in different colors. Name of the theme is GameZone, (site is offline at the moment) and I want to change the color to be the same for all buttons but don't know how.

    I tried changing color codes after ".inner {" to be the same but didn't work.

    #mainmenu li, #mainmenu li .inner {
    		background: rgb(203,38,38); /* Old browsers */
    		background: -moz-linear-gradient(top,  rgba(203,38,38,1) 0%, rgba(166,0,0,1) 100%); /* FF3.6+ */
    		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(203,38,38,1)), color-stop(100%,rgba(166,0,0,1))); /* Chrome,Safari4+ */
    		background: -webkit-linear-gradient(top,  rgba(203,38,38,1) 0%,rgba(166,0,0,1) 100%); /* Chrome10+,Safari5.1+ */
    		background: -o-linear-gradient(top,  rgba(203,38,38,1) 0%,rgba(166,0,0,1) 100%); /* Opera 11.10+ */
    		background: -ms-linear-gradient(top,  rgba(203,38,38,1) 0%,rgba(166,0,0,1) 100%); /* IE10+ */
    		background: linear-gradient(to bottom,  rgba(203,38,38,1) 0%,rgba(166,0,0,1) 100%); /* W3C */
    		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb2626', endColorstr='#a60000',GradientType=0 ); /* IE6-9 */
    	}
    	#mainmenu li:nth-child(2n),#mainmenu li:nth-child(2n) .inner {
    		background: rgb(186,79,153); /* Old browsers */
    		background: -moz-linear-gradient(top,  rgba(186,79,153,1) 0%, rgba(149,41,115,1) 100%); /* FF3.6+ */
    		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(186,79,153,1)), color-stop(100%,rgba(149,41,115,1))); /* Chrome,Safari4+ */
    		background: -webkit-linear-gradient(top,  rgba(186,79,153,1) 0%,rgba(149,41,115,1) 100%); /* Chrome10+,Safari5.1+ */
    		background: -o-linear-gradient(top,  rgba(186,79,153,1) 0%,rgba(149,41,115,1) 100%); /* Opera 11.10+ */
    		background: -ms-linear-gradient(top,  rgba(186,79,153,1) 0%,rgba(149,41,115,1) 100%); /* IE10+ */
    		background: linear-gradient(to bottom,  rgba(186,79,153,1) 0%,rgba(149,41,115,1) 100%); /* W3C */
    		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ba4f99', endColorstr='#952973',GradientType=0 ); /* IE6-9 */
    	}
    	#mainmenu li:nth-child(3n), #mainmenu li:nth-child(3n) .inner {
    		background: rgb(38,184,239); /* Old browsers */
    		background: -moz-linear-gradient(top,  rgba(38,184,239,1) 0%, rgba(0,147,201,1) 100%); /* FF3.6+ */
    		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(38,184,239,1)), color-stop(100%,rgba(0,147,201,1))); /* Chrome,Safari4+ */
    		background: -webkit-linear-gradient(top,  rgba(38,184,239,1) 0%,rgba(0,147,201,1) 100%); /* Chrome10+,Safari5.1+ */
    		background: -o-linear-gradient(top,  rgba(38,184,239,1) 0%,rgba(0,147,201,1) 100%); /* Opera 11.10+ */
    		background: -ms-linear-gradient(top,  rgba(38,184,239,1) 0%,rgba(0,147,201,1) 100%); /* IE10+ */
    		background: linear-gradient(to bottom,  rgba(38,184,239,1) 0%,rgba(0,147,201,1) 100%); /* W3C */
    		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#26b8ef', endColorstr='#0093c9',GradientType=0 ); /* IE6-9 */
  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    It's not possible to help with CSS without seeing a site live AND that theme is not released under the GPL licensing requirements of WP - so it's not supported here at all, sorry. I'd suggest you read this article and find a new theme ASAP -

    http://www.chipbennett.net/2010/12/10/only-download-wordpress-themes-from-trusted-sources/

  3. hepismajli
    Member
    Posted 1 year ago #

    Thanks for the fast response, it doesnt bothers me because it is not licenced theme by the way. Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic