The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to reposition search pop up.

4 posters

Go down

In progress How to reposition search pop up.

Post by HelloItsMe July 18th 2015, 3:59 am

How do I reposition the search pop up from the top of my page to under the navigation bar. Like that of you guys
How to reposition search pop up. Screen14
This is where mine is
How to reposition search pop up. Screen15
I would also like a box shadow with it. Please and thank you!  :rose:
HelloItsMe
HelloItsMe
New Member

Posts : 14
Reputation : 1
Language : english

http://brunomarsworldwide.f-orum.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by SLGray July 18th 2015, 5:11 am

When I visited the forum in your profile, the search pop up was under the navigation menu.


How to reposition search pop up. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe July 18th 2015, 5:32 am

I just checked my forum in another browser (internet explore) and the search pop up did appear under the nav menu, not only that but a number of the forum's appearance seems off as well which is so weird Shocked . Why is that?  bwi
HelloItsMe
HelloItsMe
New Member

Posts : 14
Reputation : 1
Language : english

http://brunomarsworldwide.f-orum.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by SLGray July 18th 2015, 5:39 am

Each browser is different. Also browser versions can be different. The reason why somethings look different in different browser is because different browsers support different things.


How to reposition search pop up. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe July 21st 2015, 4:04 am

Is your browser chrome? Cause mine is chrome as well and it would be odd if my forum appeared differently for both of us and that would mean the problem doesn't really lie on browsers?
HelloItsMe
HelloItsMe
New Member

Posts : 14
Reputation : 1
Language : english

http://brunomarsworldwide.f-orum.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by SLGray July 21st 2015, 4:45 am

No.  Firefox.


How to reposition search pop up. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by Pizza Boi July 21st 2015, 4:49 am

Hi Very Happy

Screen resolution has something to do with this as well Smile .

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

In progress Re: How to reposition search pop up.

Post by SLGray July 21st 2015, 4:51 am

Is the issue only occurring while you are logged in?  When I visit your forum and press the search link, the pop up appears under the navigation menu.


How to reposition search pop up. Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51481
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe July 31st 2015, 6:25 am

No, even when I log out it's still way up at the top of the page. This could be a problem for visitors/users cause if they slide the page down a bit, they might not be able to notice the popup when they click on "search".
@pizzaboy Is there a way i can fix it? So it shows at the bottom of the navigation bar disregarless of the screen resolution or browser? Thanks guys!
HelloItsMe
HelloItsMe
New Member

Posts : 14
Reputation : 1
Language : english

http://brunomarsworldwide.f-orum.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by Pizza Boi August 1st 2015, 9:56 am

Hi Very Happy

I'm afraid not. It really depends no the person's screen resolution Sad .

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

In progress Re: How to reposition search pop up.

Post by Ange Tuteur August 1st 2015, 11:36 am

Should be able to overwrite the function that's incorrectly positioning the popup. Try the following :

Go to administration panel > modules > javascript codes management > create a new script

Placement : In all the pages
Paste the following and hit submit :
Code:
$(function() {
  for (var a = document.getElementsByTagName('A'), i = 0, j = a.length; i < j; i++) {
   
    if (/mainmenu/.test(a[i].className) && /\/search/.test(a[i].href)) {
     
      a[i].onclick = function(e) {
        var search = document.getElementById('search_menu'),
            offset = $(this).offset();
       
        if (/none/.test(search.style.display)) {
          search.style.display = 'block';
          search.style.left = offset.left + 'px';
          search.style.top = offset.top + 25 + 'px';
        } else search.style.display = 'none';
       
        e.preventDefault();
      };
     
      break;
    }
   
  }
});
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe August 14th 2015, 9:34 pm

So I have tried zooming in and zooming out the screen to see if that was the problem and I used the javascript codes that ange provided but still nothing worked. But thanks for the effort guys Smile Very good
HelloItsMe
HelloItsMe
New Member

Posts : 14
Reputation : 1
Language : english

http://brunomarsworldwide.f-orum.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum