Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 18/11/2017 Black Friday is coming

    Don't wait BLACK FRIDAY, use FRIDAY17 coupon code to get 35% discount for all our extensions right now.

  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Way to set the background within the iframe?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Way to set the background within the iframe?
#9498
Way to set the background within the iframe? 7 Years ago Karma: 0
I'm using the lightbox to display blog entries and need to set a background within the articles. The problem is that I have to do a tmpl=component so that only the article displays without all of the headers and other modules, which also strips out the styling.

I set a page class suffix for the section that is designated for the blogs but again the style get's stripped out so it doesn't work.

The only thing I can think of at this point is to actually set the style within the article tmpl file it's self but alas that won't work either as that will set the style on every article page.

Is there a way to specify a style within the article tmpl dependent on section?
Maybe an easier way to do this?
The administrator has disabled public write access.
 
#9499
Re:Way to set the background within the iframe? 7 Years ago Karma: 670
Hello,

If you want to define specific styles for component view (tmpl=component variable), you can add it to component.php file in site template folder. If it site template doesn't contain this file, Joomla! uses component.php file from <joomla_dir>/templates/system/ folder. In this case you can copy this file from "system" folder to your site template folder and add necessary styles to this file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#9500
Re:Way to set the background within the iframe? 7 Years ago Karma: 0
Ahh excellent idea, can I specify the style according to page class suffix there so it doesn't apply to all articles?
The administrator has disabled public write access.
 
#9502
Re:Way to set the background within the iframe? 7 Years ago Karma: 670
You can create file with CSS styles, load it into component.php and specify CSS styles for necessary CSS classes (based on your page CSS class).

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1