So, now I get to the meat and potatoes of my problem. I'm trying to incorporate the features of the old plugin Ribbon into my modified version of G3nshop, and I've figured most the other problems, but I'm down to one function that I can't figure out how to update. Any help would be appreciated.
Code: Select all
$html = ''.PHP_EOL;
$html .= '<style type="text/css" media="screen">
.stickybar{position:fixed;left:0;right:0;top:0;font-size:14px; font-weight:400; height:35px; line-height:35px; overflow:visible; text-align:center; width:100%; z-index:1000; border-bottom-width:3px; border-bottom-style:solid; font-family:Georgia,Times New Roman,Times,serif; color:#fff; border-bottom-color:#fff; margin:0; padding:0; background-color: #' .$this->getDbField('color'). ';-webkit-border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:5px;-moz-border-radius-bottomright:5px;-moz-border-radius-bottomleft:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;}
body {margin-top:35px !important}
.stickybar a, .stickybar a:link, .stickybar a:visited, .stickybar a:hover{color:#' .$this->getDbField('linkcolor'). ';font-size:14px; text-decoration:none; border:none; padding:0}
.stickybar a:hover{text-decoration:underline}
.stickybar a{color:#fff; display:block;padding-bottom: 8px; text-align:center; text-decoration:none;text-shadow:0 0 0.1em #000}
.stickybar a:hover{ opacity: 0.8}
</style>'.PHP_EOL;
return $html;