Moving the admin menu when it pops up Moving the admin menu when it pops up
 

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

Moving the admin menu when it pops up

Started by gedhead, November 12, 2005, 11:56:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gedhead

Hi.

I have added an image to the header of my gallery to people can link back to the homesite. http://www.konstantinkhabensky.com/Photos/

But when the admin button is pressed the menu opens in the same space as the image. What do I have to do to move this menu so it will pop up in the white space above the image?

I'm a WYSIWYG user, so going into code and changing things is a scary process for me - anyone who can walk me though this I would be much obligied to. Thanks.

-Suzanne

owenb

Hi Suzanne,

I had a similar problem. My way DOES involve opening the theme.php document in a basic text editor (NOT Word etc - Notepad or something is just fine) and altering a bit of code.

The line you need to search for is this:
<div id="Menu1" style="position:absolute; width:800px; height:30px; z-index:1; left: 25px; top: 95px; visibility: hidden;">

At the end, where it says top: 95px; is what you need to change. Just keep increasing the value, saving the document, then press refresh on your front page and check where the menu pops up, until you find a value that fits into your page again.

If you're REALLY worried that you're going to screw something up then before you even open the theme.php document, make a duplicate of it for safety. :)

Hope this helps!
Owen

gedhead

Thanks Owen, I think that would fix it....however I can't seem to find the line in the theme.php of the theme folder I am using. Could you suggest a path name and approximately what line that code may be on? I hope it is not different code for different themes. I am using thr Project VII theme.  Thanks a million!

-Suzanne

Nibbler

The file you need to modify is template.html.

gedhead

BRILLIANT! PERFECT!

Thanks guys for the quick responses!  ;D

-Suzanne

owenb

Woops, yep, I told you to look in the wrong place. Sorry! ::)