Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

CSS Need to hide menu item in Woocommerce

Siim518

Active Coder
Hello, i have this site: https://kleidirent.ee/kataloog/esileht and i am trying to hide the "Sign in" button from the header, how can i do it via Custom CSS panel, what would be the code i should insert to hide that sign in button?

At the moment i have tried this but no effect!

CSS:
.sc_layouts_row_type_compact .sc_layouts_item_details_line1, .sc_layouts_row_type_compact .sc_layouts_item_details_line2 {
    display: none;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    visibility: hidden;
}
 
Maybe try adding !important like this:
CSS:
.sc_layouts_row_type_compact .sc_layouts_item_details_line1, .sc_layouts_row_type_compact .sc_layouts_item_details_line2 {
    display: none !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    visibility: hidden !important;
}
 
Inspecting your Sign In button in the Chrome debugger it looks like there are several css files with a definition for .sc_layouts_item_details_line1 which is the class that you expect (hope) will make it invisible, right ? But as far as I can see, none of these contain the visibility tag. Are you sure it is reading the css file containing the CSS you posted ? It seems to me there is quite a forest of CSS files with inconsistent definitions for the same things.
 

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom