Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

mail_open
Setting Background Opacity
Avatar
Jimbob
UK
Member
May 2, 2014 - 9:41 am
Member Since: November 15, 2013
Forum Posts: 453
sp_UserOfflineSmall Offline

Hi Guys,

This is the bit of code from the css file for styling the background colour of the custom menu on my site;

#custommenu {
}
div.wp-custom-menu-popup {
background: #e8ebed;
box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.3);
}

Can anyone tell what I need to add to adjust the transparency / opacity of the background colour?

Cheers

Adventurist and online ecommerce retailer based in the UK. Trading since 2006.

Avatar
Dave Furness

Founder
May 2, 2014 - 3:15 pm
Member Since: July 19, 2013
Forum Posts: 4606
sp_UserOfflineSmall Offline

Im no expert James and Matt may correct me, but this does sound vaguely familiar. I think the transparency works on a scale of 0.0 to 1.0

so I would try adding in something like:
opacity:0.4;

Into your code above, and if that works tweak the number to your desired opacity.

Apologies if that doesn’t work

Dave

Every expert was once a beginner

Avatar
Matthew Ogborne

Founder
May 2, 2014 - 4:29 pm
Member Since: July 18, 2013
Forum Posts: 4565
sp_UserOfflineSmall Offline

Howdy James and Dave the Nerd :)

See here http://css-tricks.com/css-tran…..-broswers/ for cross browser settings for opacity to make sure its consistent across the different browsers.

Besides that, happy days,

Matt

"Selling an item online is easy, but making living from a business that sells online, well that’s something different entirely!"

Ultimo Magento Theme

Avatar
Jimbob
UK
Member
May 2, 2014 - 5:39 pm
Member Since: November 15, 2013
Forum Posts: 453
sp_UserOfflineSmall Offline

Thanks. That works great, but after all that I have decided it looks better without any transparency. Still, I have learnt something new.

Have a good weekend.

James

Adventurist and online ecommerce retailer based in the UK. Trading since 2006.

 

Why Should You Join UnderstandingE?

 
  • Access to over 500 step-by-step video tutorials
  • +20 video courses available
  • Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
  • Everything is in 100% Plain English
  • Learn how to build your own multi-channel software for eBay & Amazon
  • Access to the community forums, meet fellow business owners like yourself

Join Now with 2 Clicks

 

Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.

 

Forum Timezone: Europe/London

Most Users Ever Online: 1012

Currently Online:
63 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Jim @ Moogento: 688

Steve Froggatt: 514

Badeth - UE: 513

Jimbob: 453

Paul Cartwright: 414

Forum Stats:

Groups: 6

Forums: 37

Topics: 5222

Posts: 27488

Administrators: Matthew Ogborne: 4565, Dave Furness: 4606