-
AuthorPosts
-
Benjamin Falcon Friend
Benjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
February 25, 2010 at 6:16 pm #149023I have a background image on my website that is visible on all of the pages.
I would like to use a different background for a specific page, this page is a Category / Blog Layout.
How can I tell JA Teline II to use a different background for a specific Category / Blog Layout.
Category Blog Layout Title: Events
Alias: eventsThank you 🙂
Benjamin Falcon FriendBenjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
February 25, 2010 at 6:39 pm #333888Please see the examples below. The first screen is an example of the background that the entire website uses.
The second screen (camag3.gif) would be an example background for my events.html category / blog layout. This would be the only page that uses the second background.
-
Saguaros Moderator
Saguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 27, 2010 at 4:38 am #334099hello directcorrespondentlender!
if possible give me the link to your site .
Thanks
Benjamin Falcon FriendBenjamin Falcon
- Join date:
- September 2014
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 20
- Thanks:
- 20
March 2, 2010 at 4:38 am #334301The site is http://www.convictedartistmagazine.com.
I know that the background is specified in a CSS file, but I wonder how I can go about modifying the background for the page or pages mentioned in my first post.
Is it possible to tell joomla to use a different CSS when showing that blog layout?
Thank you
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 2, 2010 at 6:45 am #334322Dear
You use the “Page Class Suffix” paramter of each menu in the list menu. You override css by using this class
http://docs.joomla.org/Tutorial:Using_Class_Suffixes_in_Joomla!_1.5
now, open the file templates/ja_telineii/index.php and find codes:
[PHP]<body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?> ” >[/PHP]
replace:
[PHP]
<?php
$itemid = JRequest::getVar(‘Itemid’);
$menu = &JSite::getMenu();
$active = $menu->getItem($itemid);
$params = $menu->getParams( $active->id );
$pageclass = $params->get( ‘pageclass_sfx’ );
?>
<body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?> <?php echo $pageclass ; ?>” >
[/PHP]good luck
1 user says Thank You to Saguaros for this useful post
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by Saguaros 14 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum