thatfray
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherok thank you
Nope nothing. https://justpsycho.com/product-category/hot-apparel/
it stays the same whether i have it as produts or show subc+prod…something overiding it?
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherDon’t be mad.
I decided to scrap the whole thing and have built a custom Menu that drops down on the topbar. It would be awesome if the search bar can fit in there because i found that since i have an immovable popup flag on the top right, i don’t have any more space when its mobile.
This is the code i’m currently using, i removed the parts i mentioned above.
add_filter( 'wp_nav_menu_items','add_search_box', 10, 2 ); function add_search_box( $items, $args ) { if( $args->theme_location == 'secondary_navigation') { return $items; } $items .= '<li>' . get_search_form( false ) . '</li>'; return $items; }
The weirdest part is when i use secondary, it goes to the topbar, when i use primary, it goes to the bottom(sec menu).
So…any idea how i can embed that search inside, bottom of the accordian?
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetheri think maybe it has to do with the extra
( !
after if. I counted all the opening and closing brackets..there’s less one closing. Or maybe thats intentional but i can’t code lol..sorryForum: Themes and Templates
In reply to: [Virtue] Some product related look-n-feel adjustments neededThank you!
Awesome thanks!
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherHi, thank you for this but the code didn’t work. I replaced with my previous and the site would crash with a http 500. Once removed it was fine again.
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherThat worked for desktop, but tuned into 4 lines on tablet..like a really fat topbar.
Forum: Themes and Templates
In reply to: [Virtue] Scroll to top missing on mobile/tabletThanks that worked!
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherbtw visibility: hidden did not work, it was back
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherForum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherI placed a search into the secondary menu but for some reason it also added a search to the topbar…2 search bars! ??
So someone gave me the code to hide that one. I wish I could just add a search bar to the secondary menu ONLY.
add_filter( 'wp_nav_menu_items','add_search_box', 10, 2 ); function add_search_box( $items, $args ) { $items .= '<li>' . get_search_form( false ) . '</li>'; return $items; }
If you can tell me what to do with the above so it only manifests on the secondary menu, that would be great. Then i can remove the css that hides the search at topbar.
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherhmm is that how its supposed to be?
looks sorta weird
how can i at least move the login and cart to the right?
Forum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherForum: Themes and Templates
In reply to: [Virtue] Links on topbar squished togetherStill the same…what i mean is they are all centered in the middle, home-login-cart.
Arent they supposed to be in opposite corners?
I’m also on chrome.