The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to reposition search pop up.

View previous topic View next topic Go down

In progress How to reposition search pop up.

Post by HelloItsMe on 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

This is where mine is

I would also like a box shadow with it. Please and thank you! :rose:

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 on July 18th 2015, 5:11 am

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


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe on 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 isso weird Shocked . Why is that? bwi

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 on 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.


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe on 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
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 on July 21st 2015, 4:45 am

No. Firefox.


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by Pizza Boi on 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
Hyperactive

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

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by SLGray on 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.


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


SLGray
Administrator
Administrator

Male Posts : 35641
Reputation : 2374
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe on 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
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 on 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
Hyperactive

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

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: How to reposition search pop up.

Post by Ange Tuteur on 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
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: How to reposition search pop up.

Post by HelloItsMe on 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
New Member

Posts : 14
Reputation : 1
Language : english

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

Back to top Go down

View previous topic View next topic Back to top


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