VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mediaset on November 28, 2013, 16:10:42 PM

Title: terms of service window bg colour
Post by: mediaset on November 28, 2013, 16:10:42 PM
I am working with version 2.0.24 and I have looked here but can't find a fix for my version of VM
I need to change the bg colour of the terms of service pop up window. Can anyone help. Thanks.

Title: Re: terms of service window bg colour
Post by: Spiros Petrakis on November 28, 2013, 20:18:24 PM
Add the following in your templates css file

If you use Fancybox
#fancybox-outer {
  background-color: #CCC;
}

#fancybox-content  {
  border-color: #CCC;
}


If you use Facebox
#facebox .content {
  background-color: #CCC;
}


replace #CCC with the desired color but keep in mind that the background color will change on all Virtuemart pop ups .
Title: Re: terms of service window bg colour
Post by: jenkinhill on November 28, 2013, 23:36:49 PM
http://forum.virtuemart.net/index.php?topic=116620.0
Title: Re: terms of service window bg colour
Post by: mediaset on November 29, 2013, 11:49:39 AM
Thanks for your replies, I am a bit out of my depth here though and could do with a little guidance. I have used firebug to locate the code. Must have made a syntax error as now I have the same pop-up with the same colour which will not close.

<div class="popup">
<div class="content my-groovy-style">
<a class="close" href="#"></a>
</div>
</div>
<div id="facebox_overlay" class="facebox_hide facebox_overlayBG" style="display: block; opacity: 0.2;"></div>
</body>