Hi Again - I am trying to make a "family homepage" out of the MediaMongul template. I am making progress but ran into a problem when adding the Expose gallery. If you go to
www.rkchapin.com
, I have created on the main menu a Photo drop down as the last menu item (mainmenu and all the way to the right)The drop down has 3 selections. The first dropdown item, "Photo Album No Transparency" is Photo Album with the No Transparency set in expose.html.php with a Expose component added to Photo in the main menu. I can then change the background colors etc. but white borders happen that take on background image mainpage_br.png. Another problem is that the drop down becomes hidden after going to this page. You may need to clik on home link to be able to select another Photo Album link.
The next step was to add back the transparaency element back to Expose.html.php and in the same fashion I added the Component type Expose to the mainmenu under parent Photo. Clicking on this link ("Photo Album Transparency" ), you can see that it takes on the background picture mainpage_br.png but the Photo album drop downs are not overlayed with the background color from the Expose component anymore. I can not change any colors with the Expose Configuration now from the Confguration panel. It takes on mainpage_br.png no matter what I do...which is what I expect to happen.
The white background is not what I want but would like to be able to select the background color and have the color go all the way to the rounded corners. The Wrapper does not work well either.
Is there any way can I change the mainpage_br style /background image when adding the Expose component for just the Photo Album page when the Transparency option is set for the Expose component. I really want a different color other than white, without changing the background color on the other pages, and have the new bg color go all the way to the rounded corners. It seems like this is a function of index.php but am hopefull, I am missing something or one of the forum experts can help me out with some parameter setting?
I am a newbie and hope this makes sense. Forgive me if my broken understanding of Joomla shows.
Thanks - I will try this later tonight. I tired this and had success in eliminating 1/2 the white bordering (X direction) but still have top and Bottom. I described everything in my next post below.
I tired this and had some good succes and looks much better. I created another style sheet and tested for the condition you suggested. I got a little carried away which if you check out the photo album again at rkchapin.com you will see the new output which is good in the X direction but still does not go to the rounded corners in the Y direction. The main-content was the style that fixed the X direction. As you can see there are no white borders here which is great. This is the mods I made in the style sheet. I changed #fff to #000. It seems like the division is the header before the main-content. Adds to index.php
<?php if ( $option == com_expose ) : ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/album_style.css" rel="stylesheet" type="text/css" />
<?php endif; ?> New Style sheet
#main-content {
background: #000 url(../images/style1/content/mainpage-br.png) 100% 100% no-repeat;
}
#header-bar {
background: url(../images/style1/header-bg.png) 0 0 repeat-x;
color: #000;
}
#bottom-modules div.moduletable h3 {
color: #000;
}
I got iit to work. I did a black color fill on 4 background images as indicated in the style sheet edits below. Adobe Photoshop leaves a slightly different shade of grey when writing a png file out but not to noticeable.
Adds to index.php
<?php if ( $option == com_expose ) : ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/album_style.css" rel="stylesheet" type="text/css" />
<?php endif; ?> Adds to new style sheet css/album_style.css
#main-content {
background: #000 url(../images/style1/content/mainpage_album-br.png) 100% 100% no-repeat;
}
now that you've got it working, my dear frodo... give me back my preccioussss!!
Bwahahahahaha!!!
best laugh of the night! well played!
The member formerly known as Roland Deschain After your question is solved, please Edit your original post and choose the Solved message icon, thank you!
Yes - I got a chuckle also. GollumX is funny as well as very technically knowledgable...thanks for the help GollumX. When trying to trackdown all the styles, viewing caches/stylesheets and code etc etc to fix the Expose Gallery problem, it lead me into thinking of ways that MediaMogul/templates can be optimized for speed. I brought up the site with a Modem and it was pretty tough to do. Once I get caught up with other projects, I am hoping there may be some interest as another topic post. I am still learning the tempalte structure but this forum has been awesome as a learning tool. I hope I can contribute back.