Some navigations buttons getting smaller on certain pages

Hello, I created a custom top bar for my website with several nav buttons including a “my account” button. All the buttons work and everything seems okay but when i go to the “my account” page three of the nav buttons get smaller. I have absolutely no clue why this is happening. I will include screens shots of the normal bar as well as the bar when its on the “my account” page.

NORMAL:

ON ACCOUNT PAGE:

The three buttons on the left are noticeably smaller on the “my account” page.

Thanks in advance!

Hey Rosemary,

Your My Account page doesn’t look like your screenshot. Looks like I’m looking at the wrong website. Please provide the URL where we can see the issue. If we need to login to see the My Account page, please provide the access:

  • WordPress Login URL
  • Admin username and password
  • URL of the My Account page with the issue.

Thanks.

Hello, I’m building from the staging/development page. I’ll include the url in a note attached to this message.

Thank you!

Hi Rosemary,

I have checked and found that the My Account page default style for the font-size has overridden the custom CSS code written to add the font-size. I would suggest you add the !important rule to that specific code to be applicable on all the pages.

Your code might look like the following.

.button 
{
    font-size: 1.2em !important;
}

Please remember that the above code will work if copied as it is and doesn’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We really do not provide support for custom codes which means we can’t fix it in case it conflicts with something on your site nor will we enhance it. Further customization should be directed to a third-party developer or you can avail One, where we answer the questions beyond normal theme support.

Thanks

Thanks! it’s all fixed! I appreciate it

You are most welcome, Rosemary. We are glad that we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.