nyashing
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [OceanWP] The header height changes depending on the layout?Hi Shahin,
Thank you for your continued support. It took some time to set up the staging site and select the problematic plugin, but in the end, the issue was resolved.
To summarize, the problem was caused by my own edits, so I’m not sure if this will be helpful to others, but I’ll mention it anyway.Following your instructions, I created the staging site, then changed the theme from the child theme to the parent theme and disabled all plugins. At this point, the pages with sidebars were already malfunctioning, but I tried enabling and disabling a few plugins just in case.
Ultimately, I couldn’t pinpoint the cause by doing that, but while experimenting, I remembered there was a plugin called Widget Options that edits sidebars and widgets, and upon checking, it turned out to be the cause. It seems the edits I made to the sidebar were causing the page layout to break.
I had completely forgotten that this plugin allows editing HTML.In summary, it was my own edits that caused the issue, but I am deeply grateful for your assistance in helping me discover the cause.
Thank you very much.
Kind regardsForum: Themes and Templates
In reply to: [OceanWP] The header height changes depending on the layout?Hi Shahin,
Thank you for looking into this.
If there are no issues on your end, then I must have made some strange settings while editing.Just to be sure, I deleted all the Custom CSS I added to Ocean WP and the code I added to the theme’s function PHP, but the result was the same. I tried removing the page title and site logo, but the result was the same. For some reason, when I use the sidebar, the header height increases.
Screenshots of the header section for pages with a sidebar and full-width pages are below.
https://postimg.cc/7GXBmqdV
or
https://i.postimg.cc/Y0BJ29xJ/header.jpgBesides the header height changing, another odd thing is that the WordPress admin bar menu at the top of the page is misaligned. I think this might be due to the same cause, but I couldn’t pinpoint it myself.
Both pages have the height defined as 100, but for some reason, it displays as 120 when the sidebar is included.
If you have any good solutions or ideas about the cause, please let me know.
Kind regards
Hi Shahin,
Thank you for the information about https://jigsaw.w3.org/css-validator/.
This is very useful.Best regards
Hi again,
Just after the last message, I moved the css code on top of all the other code and it worked! I don’t know why it wasn’t working before yet.
Anyway, thank you very much for your help.
Hi Shahin,
Thank you for your help.
Unfortunately the code isn’t working.
I did clear both page cash and browser cash, also regenerate files & data on Elementor, but the line color still doesn’t change.Any other suggestion, please?
Forum: Themes and Templates
In reply to: [OceanWP] Add to Cart text on Floating barHi Shahin,
Thanks a lot for the code and image!!
Forum: Themes and Templates
In reply to: [OceanWP] Add to Cart text on Floating barHi Shahin,
The code worked perfectly, thank you very much!
Could you help me a little further, please?Would it be possible to change the button text depend on the product’s category?
If not, would it be possible to disable the floating bar for certain category products?Thank you.