forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: stock on September 13, 2005, 05:54:48 pm

Title: nav bar pulls in
Post by: stock on September 13, 2005, 05:54:48 pm
I have searched for a solution but cannot find the right things, so sorry to ask.

How can I prevent my nav bar pulling in from the right when the browser window is pulled in? I want it to stay in one place and just the browser window get smaller. At present it moved and butts into my central image boxes. Please see http://www.stockshoots.co.uk.

I'm sure this is something simple so would be very grafeful for some help

stock

Title: Re: nav bar pulls in
Post by: snork13 on September 13, 2005, 06:53:08 pm
It a little tricky, check out the style sheet, as it' not be held in place via table, so it's tableless using css to control the layout as shown below

from your template


Code: [Select]
<div id="menu"><ul>
<li>The images
<ul>

                       
<!-- BEGIN album_list -->
                        <!--<li><a href="index.php" title="Go to the home page">Home page</a></li> -->
                        <li><a href="http://www.stockshoots.co.uk/index.php">Home page</a></li>
                        <li><a href="search.php">Search</a></li>

<!-- END album_list -->

                       
<!--My lightbox--!>      <li><a href="thumbnails.php?album=favpics">My lightbox</a> </li>


 <!--Last uploaded--!> <li><a href="thumbnails.php?album=lastup">Latest images</a> </li>
                       
                       
<!--Last comments--!> <!--<li><a href="thumbnails.php?album=lastcom">Last comments</a> </li>-->
                       
<!--Top something--!>  <!--<li><a href="thumbnails.php?album=topn">Most viewed</a> </li>-->
                       
<!--Top rated--!> <!--<li><a href="thumbnails.php?album=toprated">Top rated</a> </li>-->

<li><a href="http://www.stockshoots.co.uk/pricing.php">Image pricing</a></li>



</ul>
</li>
</ul>
<ul>



<li>The website
<ul>

<!-- BEGIN register -->
                        <li><a href="register.php" title="Create an account">Register</a> </li>
<!-- END register -->
<!-- BEGIN login -->
                        <li><a href="login.php?referer=%2Findex.php">Login</a></li>
<!-- END login -->















<!-- BEGIN faq -->
                        <li><a href="faq.php" title="Frequently Asked Questions on the picture gallery &quot;Coppermine&quot;">FAQ</a> </li>
<!-- END faq -->











</ul>
</li>
</ul>
<ul>



<li>The information
<ul>

<li><a href="http://www.stockshoots.co.uk/aboutus.php">About us</a></li>
<li><a href="http://www.stockshoots.co.uk/terms.php">Terms & Conditions</a></li>
<li><a href="http://www.stockshoots.co.uk/privacy.php">Privacy policy</a></li>
<li><a href="http://www.stockshoots.co.uk/links.php">Links</a></li>



                       

</ul>
</li>
</ul></div>


from the css

Code: [Select]
#menu {
width: 14em;
*position: absolute;
float: right;
top: 152px;
right: 5em;

font-size: 100%;
}


-snork
Title: Re: nav bar pulls in
Post by: stock on September 13, 2005, 07:02:33 pm
Snork,
apologies but I don't understand. The code you show is as it exists, but don't understand your sentence.


So sorry but could you clarify please.

Stock
Title: Re: nav bar pulls in
Post by: stock on September 13, 2005, 07:44:29 pm
well I have tried to amend the menu code as I think Snork suggests but cannot seem to fix this. As this is how the theme came, is there any way at all this can be fixed? This looks terrible like this and I just cannot send it live with this problem being fixed. This is going to be a professional library.

Can I not put the menu into a table or something?

Is this a problem with all right-hand navigation themes in Coppermine?

Thanks

Stock
Title: Re: nav bar pulls in
Post by: snork13 on September 14, 2005, 04:58:04 pm
it would require using a table to add as the place holder for the menu...and adjusting the css. zip up your theme and attach it, i'll see what i can do to help ya

snork
Title: Re: nav bar pulls in
Post by: stock on September 14, 2005, 07:44:00 pm
Snork,

that would be very kind of you. Do you mean all the files or just the theme.php?

I have tried to deal with this but things seem to have gone wrong, so I have reverted back, although there are still some tweaks to be be done to amend whatever I have made a mess of.

Thanks

Stock
Title: Re: nav bar pulls in
Post by: stock on September 15, 2005, 12:41:17 pm
Snork

Here are the files. Is this what you need?

Very grateful for any help

Stock
Title: Re: nav bar pulls in
Post by: stock on September 15, 2005, 12:43:07 pm
Sorry, here are the others

Stock
Title: Re: nav bar pulls in
Post by: stock on September 16, 2005, 12:01:11 pm
Snork/J

Many thanks. It says not to reply by email so I'll await news. Good luck with the weekend.

Stock (lindsey)