nav bar pulls in nav bar pulls in
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

nav bar pulls in

Started by stock, September 13, 2005, 05:54:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stock

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


snork13

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


<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

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

font-size: 100%;
}



-snork

stock

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

stock

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

snork13

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

stock

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

stock

Snork

Here are the files. Is this what you need?

Very grateful for any help

Stock

stock

Sorry, here are the others

Stock

stock

Snork/J

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

Stock (lindsey)