Site logo

[Resolved] Centering menu item text inside a border box

Home Forums Support [Resolved] Centering menu item text inside a border box

Home Forums Support Centering menu item text inside a border box

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2549199
    Wacey

    I followed this support article to add a button in navigation:
    https://docs.generatepress.com/article/adding-buttons-navigation/

    The border is closer to the top of the text than the bottom of the text. I have inspected it in every way I know how to see where padding or margin might be doing this but no luck.

    #2549262
    Ying
    Staff
    Customer Support

    Hi Wacey,

    Do you mean the order now button?

    If so, it looks normal to me:https://www.screencast.com/t/gKUUaeDIRXe

    #2549276
    Wacey

    I just tried three browsers and keep getting this: https://postimg.cc/tsmyHVsf

    On one browser it looked like it might be good for a brief second then something lower on the page loaded and messed it up? Or I was just seeing things.

    #2549309
    Ying
    Staff
    Customer Support

    Hum..I also tried 3 browsers, Chrome, Safari and Firefox, the button looks normal in all 3 browsers.

    Have you tried it on another computer? Let me know!

    #2549389
    Wacey

    Yes, I just tried on another Windows computer and still looks off on my side. Not sure what is going on. Thanks for checking it out!

    #2549867
    David
    Staff
    Customer Support

    Hi there,

    i don’t see the issue either.
    What happens if you open the site in a Private/Incognito browser to eliminate any caching or extension conflicts ?

    #2550618
    Wacey

    Yes, I’ve tried three different computers (all Windows) and three different browsers (Chrome, Firefox, and Edge) all in private/incognito. Edge is the only only that briefly flashed it in the center before changing the font style.

    #2550642
    Leo
    Staff
    Customer Support

    I’m seeing the issue but cannot tell what’s causing it at all – never seen it before.

    Can you disable all plugins except for GP Premium and GenerateBlocks to eliminate any unknown conflicts from elsewhere?

    #2551898
    Wacey

    I tried disabling all other plugins but that didn’t work either. I finally thought to change fonts and that works. So there is something with the Adobe typekit we are trying to use. I’m including the css for the font (which is in an element hook <link rel=”stylesheet” href=”see private info”>).

    #2551953
    Leo
    Staff
    Customer Support

    If the issue is with the custom font then I don’t believe we have a solution unfortunately.

    Everything from the code standpoint looks correct.

    #2551980
    Wacey

    Well at least I finally found the problem. Weird that it works on some computers but not others. Thanks for the help.

    #2552041
    Leo
    Staff
    Customer Support

    No problem.

    Seems to be a Windows-specific problem.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.