How to: Apply CSS to popup

13 years 8 months ago #13553 by stevebor1
Find code around 933

[code:1]$htmltext2 .= "newWindow.document.writeln(\"<div align='center' >\"«»);\n";[/code:1]

1. change to
[code:1]$htmltext2 .= "newWindow.document.writeln(\"<div class='tab-page' align='center' >\"«»);\n";[/code:1]

2. also add this line after
[code:1]$htmltext2 .= "newWindow.document.writeln(\"<link rel='stylesheet' href='PATH TO /template_css.css' type='text/css'/><style type='text/css'>\"«»);\n";

change your path to your css location, joomla template or cb template. I chose to make my div class set to "tab-pane", but you can change to whatever you want.

if you want to just add a color background, just replace class='tab-pane' in 1 with bgcolor='000000' and forget step 2.

Post edited by: stevebor1, at: 2006/05/22 10:04

Post edited by: stevebor1, at: 2006/05/25 02:12

Karma Me Up!

Joomla! 1.0.12 - Community Builder 1.0.2 - Joomlaboard 1.1.2
Own Mods Featured Profile Mod
My Real Day Job

Mobile Wallet and Social Lending, Anywhere!
13 years 8 months ago #13558 by nant

Will study and make some additions to next version of the plugin.
Moderators: beatnantkrileon
Time to create page: 0.444 seconds

Facebook Twitter LinkedIn