Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 4 years ago.
Improve this questionI have a header with a logo, menu items and a search bar. I have aligned the menu on the right (close to the search bar), but in the 'single-post' page, the menu items appear on the left, starting right after the logo.
The header HTML is the same for each page (I'm getting it using the get_header() function) and the CSS is a single shared file between all components.
I am really dumbfounded here... I've developed the theme myself so maybe I did something to cause this, but I don't really know how it's possible for a completely identical component to appear differently on different pages.
EDIT: I am using the boostrap navbar with the ml-auto class for aligning on the right.
Closed. This question is off-topic. It is not currently accepting answers.Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?
Closed 4 years ago.
Improve this questionI have a header with a logo, menu items and a search bar. I have aligned the menu on the right (close to the search bar), but in the 'single-post' page, the menu items appear on the left, starting right after the logo.
The header HTML is the same for each page (I'm getting it using the get_header() function) and the CSS is a single shared file between all components.
I am really dumbfounded here... I've developed the theme myself so maybe I did something to cause this, but I don't really know how it's possible for a completely identical component to appear differently on different pages.
EDIT: I am using the boostrap navbar with the ml-auto class for aligning on the right.
Share Improve this question asked Dec 22, 2020 at 20:41 Rron KurtishiRron Kurtishi 12 bronze badges 2- 1 It's going to be hard to help you to find the code / markup issue without seeing it - any guesses will be just that. – Q Studio Commented Dec 22, 2020 at 20:49
- Figured it out. It was a plugin to which I added some custom css that affected the navbar. Coming from Angular, I thought the plugin css would be contained to the plugin only haha. Silly me. – Rron Kurtishi Commented Jan 9, 2021 at 21:38
1 Answer
Reset to default 0I added custom css to a plugin that apparently affected the navbar too.