Solved

take transparency off logos

Posted on 2014-01-16
10
257 Views
Last Modified: 2014-01-16
How do I remove the transparency effect from the logos that appear in orange boxes (Control 4 and Cedia) below the navigation?  I tried a couple things and nothing seemed to work.

http://nsitedesigns.com/nsitedesigns/gei/structured_wiring.html
http://nsitedesigns.com/nsitedesigns/gei/gei.css

img.logos_sidebar {
		padding: 10px 0px 2px 12px;
		z-index:999;}

.sidebar_logos {
	float: left;
	width: 180px;
	background-color: #eaa53e;
	border:2px solid #006576;
	margin: 5px 0px;
}

<div class="sidebar_logos"><a href="http://www.control4.com/info/home-automation?gclid=COPQwduB6rsCFclaMgod8H4AKA" target="_blank"><img src="img/logo_control4.png" alt="Control 4 Dealer" width="156" height="155" class="logos_sidebar" /></a></div>
        <div class="sidebar_logos"><a href="http://www.cedia.net/" target="_blank"><img src="img/logo_cedia.png" alt="Cedia Professional Certification" width="155" height="213" class="logos_sidebar" /></a></div>
            <div class="sidebar_logos"><a href="http://www.manitowoccountyhomebuilders.com/" target="_blank"><img src="img/logo_manty.png" alt="Manitowoc County Home Builders Assn" width="160" height="53" class="logos_sidebar" /></a></div>

Open in new window

0
Comment
Question by:nsitedesigns
  • 5
  • 4
10 Comments
 
LVL 38

Assisted Solution

by:Tom Beck
Tom Beck earned 100 total points
Comment Utility
There's only one way I know of. The class="sidebar_logos"  containers have the transparency so anything inside will have the transparency as well. You need to move the anchors with the images inside up one level in the DOM so they are children of the class="sidebar" div (to the same level as the class="sidebar_logos" divs). Add position:absolute and top and left position values to the <img> elements until they are positioned where they were before. Because the class="sidebar" div is set to position:relative, the position absolutes will be relative to the sidebar div.
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Change your background-color in .sidebar_logos {} to

rgba(234, 165, 62, 0.8)

Remove

.sidebar1 div {
    opacity: 0.8;
}
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Actually this make more sense

just remove the background-color from  .sidebar_logos {}

Remove the opacity: 0.8; from .sidebar1 div {} and instead add in background:rgba(234, 165, 62, 0.8)
0
 

Author Comment

by:nsitedesigns
Comment Utility
Cathal, I tried your solutions but they did not work.  
TommyBoy, I am not sure how to implement what you suggest.
0
 
LVL 58

Expert Comment

by:Gary
Comment Utility
Update your code online - it does work. You may have missed my edit

Remove
.sidebar1 div {
    opacity: 0.8;
}


Or follow my second example method
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:nsitedesigns
Comment Utility
Client just told me she ALSO wants the turquoise bar at the top and the side borders to be solid, not transparent. Ugh!  How do i do that?  The red arrows are pointing to the problem areas.   Ask me how much I like transparency.  Go ahead - I dare ya!  LOL

http://screencast.com/t/FdoYHFeRoJ
0
 

Author Comment

by:nsitedesigns
Comment Utility
Cathal,

I removed the reference below and uploaded page.  I cleared history.  I don't see any change.  

http://nsitedesigns.com/nsitedesigns/gei/gei.css

.sidebar1 div {
    opacity: 0.8;
}


g
0
 
LVL 58

Accepted Solution

by:
Gary earned 400 total points
Comment Utility
You've removed the opacity but you need to add

.sidebar1 div {
background:rgba(234, 165, 62, 0.8)
}

And remove background-color: #EAA53E; from .sidebar_logos {}

Remove opacity: 0.9; from
.sidebar_nav {}

Borders should be solid - they will not be affected by the transparency
0
 
LVL 58

Assisted Solution

by:Gary
Gary earned 400 total points
Comment Utility
This would be easier...
Your amended css file attached
gei.css
0
 

Author Closing Comment

by:nsitedesigns
Comment Utility
terrific!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now