Post by Alan Vende on Feb 23, 2017 15:02:07 GMT -8
Thanks, Peter . I just didn't want you to think like I'm not trying to do research or anything myself, which is why I went out to try and find out about the DOM ready event. If you wouldn't mind explaining it, that would be great, but I think you may be right and to wait. I would like you to explain it, though.
Whoops. Sorry, I forgot to post the CSS -- sorry about that -- and thank you for reminding me. I will do so in a few minutes after I go put some food in my stomach. Thank you for looking it over, as it was working just fine before I looked into doing the total affiliate piece.
Thank you so much for your help! I am so glad to be able to learn this!
Peter , below is the full CSS of the plugin. I will be cleaning it up after we get the CSS and such fixed.
Whoops. Sorry, I forgot to post the CSS -- sorry about that -- and thank you for reminding me. I will do so in a few minutes after I go put some food in my stomach. Thank you for looking it over, as it was working just fine before I looked into doing the total affiliate piece.
Thank you so much for your help! I am so glad to be able to learn this!
Peter , below is the full CSS of the plugin. I will be cleaning it up after we get the CSS and such fixed.
/* Begin My Affiliate CSS */
/* Begin Title Bar CSS */
.pp-affiliate-title {
text-align: center;
}
.aff-dropdown {
position: relative;
display: inline-block;
}
.aff-dropdown-content {
display: none;
position: relative;
background-color: #f9f9f9;
border: 1px solid #000000;
border-radius: 0px 0px 10px 10px;
width: 300px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
}
.aff-dropdown:hover .aff-dropdown-content {
display: block;
z-index: 1;
}
/* End Title Bar CSS */
.affiliatechange {
float: right;
}
.affiliatechange, .affcodeandrules {
margin-top: 5px;
margin-bottom: 5px;
}
.affchangenumberrules {
margin-top: 10px;
margin-bottom: 5px;
}
.ppaffcoderules {
float: left;
padding-left: 5px;
}
.affiliatechange {
padding-right: 5px;
}
/* .numberofaffiliates {
margin-left: auto;
margin-right: auto;
} */
.ppaffiliates {
margin-top: 50px;
margin-bottom: 10px;
padding: 0px 5px 0px 5px;
}
.ppaffcodecontainer {
border: 2px solid #000000;
border-radius: 10px;
-webkit-border-radius: 10px;
background-color: #ffffff;
padding: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
.ppaffcodetitle, .ppafftextheading {
font-size: 14px;
font-weight: bold;
text-decoration: underline;
margin-bottom: 5px;
}
.ppaffrules {
border: 2px solid #000000;
border-radius: 10px;
background-color: #888888;
margin-top: 5px;
padding: 5px;
font-family: cursive;
}
.ppaffrulestext {
border: 2px solid #000000;
border-radius: 10px;
-webkit-border-radius: 10px;
width: 410px;
padding: 5px;
margin-left: auto;
margin-right: auto;
background-color: #ffffff;
}
.ppafftextbody {
width: 405px;
margin-bottom: 5px;
}
.affiliatecodes {
border: 2px solid #000000;
border-radius: 10px;
-webkit-border-radius: 5px;
margin-top: 15px;
padding: 10px;
width: 1240px;
margin-right: auto;
margin-left: auto;
}
.ppaffiliatecode {
margin-top: 5px;
margin-bottom: 5px;
}
/* End My Affiliate CSS */
/* Begin Title Hover CSS */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
color: #000000;
}
/* End Title Hover CSS */
/* Begin Reverse Opacity CSS from http://jsfiddle.net/xbMtN/ */
ul.affiliateaffcodes li {
display: inline-block;
}
ul.affiliateaffcodes li img {
opacity: 1;
-webkit-transition: opacity .5s;
-moz-transition: opacity .5s;
transition: opacity .5s;
}
ul.affiliateaffcodes:hover li img {
opacity: .5;
}
ul.affiliateaffcodes:hover li img:hover {
opacity: 1;
}
/* End Reverse Opacity CSS from http://jsfiddle.net/xbMtN/ */