Bug - Sidebar glare does not show |
|
James
|
I am using Drupal 6.2 with Artisteer 3. The glare exports but there is nothing in the sidebar.
|
|
Lawrence
|
Are you adding your blocks to the sidebar?
|
|
Mark C
|
This has happened me with headers. Here's a solution perhaps (replacing the name of the glare with header).
===
Your header.jpg or header.png is probably not outputting properly. If you check the css file, it's probably called Header.jpg (capital "H"), but the file that was output was header.jpg (small "h").
Try one of two options:
1) change the name of the theme and export it to a new folder
2) edit the name of the header.jpg file to reflect what is in the style.css file or edit the css file to reflect the name of the header image.
I hope that helps,
M.
|
|
James
|
Hi thanks for the tips, but in my case the generated code was wrong or something is backwards... if anyone else has this issue this is how I fixed it.
In Style.css add:
.art-layout-glare-image {
background-image: url('images/sidebar_g.png') ; /* or whatever your glare is called */
background-repeat: no-repeat; }
In page.tpl.php add:
<?php $art_sidebar_right = (isset($right) && !empty($right)) ? $right : $sidebar_right; if (!empty($art_sidebar_right) || !empty($vnavigation_right)) echo '<div class="'.art_get_sidebar_style($art_sidebar_right, $vnavigation_right, 'art-sidebar2 art-layout-glare-image').'">' . $vnavigation_right . $art_sidebar_right . "</div>"; ?>
Add to sidebar 2 as well if you are using 2.
This is for the glare inside the side bars, behind the blocks.
|
|
James
|
Oops, I meant add to 1 as well, the code there is for sidebar 2, also I added only the bold css class to the php.
|
|
|
|