After add a link to top menu, how can custom the link showed on mobile


(Cobe) #1

Continuing the discussion from How to add external link on top menu?:

yes , I have add the extra link , It runs pretty well on my site, which looks like:

However, When I open my site via mobile, I find that what I have added to ,breaks origin grid.

So ,anywhere can I fix this ,like delete the newest link or something else. I have looked into the admin, where only offers the trigger to order cates, not for mobile display.

my site: www.tuanzll.com


Registered User List
How to add a topic in top nav in a specific category?
(David GarcĂ­a-Navas) #2

Hi!
For me, the way to add a link to the top menu is add this plugin that the Discourse team shared in this topic:

(works fine on desktop and mobile)

If your installation runs with Docker, you can see how to add a plugin here.

With an Github account, you can fork the plugin and edit the link and its details. Example:

https://github.com/davidgnavas/discourse-dev-nav-item/commit/c2eaebebb805955320a107133231dbe36331097d


(Cobe) #3

Thank you for your info.
this plugin can add an extra link to nav bar, however it doesn’t solve my problem, say

p1

p2

they are not on one line,but stay two lines, which looks not so good.


(David GarcĂ­a-Navas) #4

It seems well in my Android device (Nexus 4):

Perhaps it depends on the resolution of the device?


(Cobe) #5

Yes ,I think so !
I my iphone 5s it broken .