LindsayS
-
Posts
7 -
Joined
-
Last visited
Reputation Activity
-
LindsayS reacted to creedon in Multiple H1 in every eCommerce page -Avenue template
It is a v7.0 site using the Avenue template. You can check which version and template a site is by going to Home > Help and scrolling to the bottom.
There are only two methods. One you could use Javascript to restructure the page. That may not be useful as it would depend on if the search engine is scanning the rendered page or the page source.
The second and I strongly urge not to do this unless you are prepared and willing to commit, is to use Developer Mode. Even turning it on or off can destroy a site if you don't know what you are doing.
-
LindsayS reacted to creedon in Multiple H1 in every eCommerce page -Avenue template
Here is some code to alter the structure of the page. As to whether this code will help or not I do not know. In other words. The code can make the change but if the change is effective, who knows?
Install twcsl.
Add Store Product Detail Logo Class Replace Tag to Store Settings > Advanced > Page Header Code Injection for the store page.
Let us know how it goes.
-
LindsayS reacted to paul2009 in Multiple H1 in every eCommerce page -Avenue template
That's outdated information. Google doesn’t have any issues with a page having multiple H1 tags. Multiple H1 tags are perfectly fine.
-
LindsayS reacted to derricksrandomviews in Multiple H1 in every eCommerce page -Avenue template
Thanks for this post.
-
LindsayS reacted to creedon in Multiple H1 in every eCommerce page -Avenue template
Did Google, or any search engine, really at one point actually penalize for multiple h1s?
When I hear this I think they must be (have been) nuts.
There must be tons of pages that use h1-6 as styling for outline like data.
Heading
Sub-heading
Some text here.
Heading
Sub-heading
Some text here.
etc. etc.
And then what about sites like SS sites that have a desktop and mobile version of elements. Each of those device types can use h1 for their particular presentation style.
It just seems madness that any search engine designer would come up with an only one h1 rule to begin with.
-
LindsayS got a reaction from creedon in How to remove the "all" category from my shop?
Works beautifully!! Thanks so much 🙂
-
LindsayS reacted to creedon in How to remove the "all" category from my shop?
Yes.
I've done code for this but not for the Avenue template. I can give it a go.
What order do you want the categories in?
-
LindsayS reacted to creedon in How to remove the "all" category from my shop?
Add the following to Store Settings > Advanced > Page Header Code Injection for the store page.
<!-- begin reorder store categories Version : 0.3d2 SS Version : 7.0 Template : Avenue Notes : the code is comprised of a number style tags. all of them are needed for the full effect to work code generated on 06/21/2021 01:34:21 PM by my magic table < ? > By : Thomas Creedon < http://www.tomsWeb.consulting/ > --> <style> /* rulesets just for reordering categories */ .category-nav-links li:nth-child( 3 ) { /* Canada */ -webkit-box-ordinal-group : 5; -ms-flex-order : 4; order : 4; } .category-nav-links li:nth-child( 4 ) { /* France */ -webkit-box-ordinal-group : 4; -ms-flex-order : 3; order : 3; } .category-nav-links li:nth-child( 5 ) { /* Italy - other regions */ -webkit-box-ordinal-group : 3; -ms-flex-order : 2; order : 2; } .category-nav-links li:nth-child( 6 ) { /* Russia */ -webkit-box-ordinal-group : 4; -ms-flex-order : 3; order : 3; } .category-nav-links li:nth-child( 7 ) { /* Tuscany */ -webkit-box-ordinal-group : 2; -ms-flex-order : 1; order : 1; } .category-nav-links li:nth-child( 8 ) { /* Us and Caribbean */ -webkit-box-ordinal-group : 4; -ms-flex-order : 3; order : 3; } .category-nav-links li:nth-child( 9 ) { /* Venice */ -webkit-box-ordinal-group : 2; -ms-flex-order : 1; order : 1; } </style> <style> /* rulesets just for styling the store categories keep in mind the styling applies to categories before they are reordered so use their natural order number */ @media only screen and ( min-width : 641px ) { /* desktop */ /* by default the last category has no margin on the right. when you apply the reordering CSS then that no margin comes along for the ride. we need to get that margin back in there */ .category-nav-links li:last-child { margin-right : 25px; } /* by extension we now want to remove the right margin from whichever element is going to be last after reordering */ .category-nav-links li:nth-child( 3 ) { margin-right : 0; } } </style> <style> /* rulesets to define the base of this effect no user serviceable parts below */ .category-nav-links { display : flex; } /* mobile */ @media only screen and ( max-width : 640px ) { .category-nav-links { flex-direction : column; } } </style> <!-- end reorder store categories --> This is for v7.0 using the Avenue template.
Let us know how it goes.
-
LindsayS reacted to creedon in How to remove the "all" category from my shop?
Add the following to Store Settings > Advanced > Page Header Code Injection for the store page.
<style> /* hide ALL category */ #categoryNav ul li:nth-of-type( 2 ) { display : none; } </style> This is for v7.0 using the Avenue template.
This only hides the ALL category link. It doesn't hide the ALL content. If you want to do that you have to get a little tricky with the navigation. Let us know if you want to do this.
Let us know how it goes.
-
LindsayS reacted to creedon in How to remove the "all" category from my shop?
One technique is to move the Store page into the NOT LINKED area. Then create a Link page that points to one of your categories.
If you still need a landing page of some kind you could have a category of featured or perhaps international that features a sample from each area.
Another issue you'll need to consider. What to do with the back to link.
The easiest thing to do is hide it. The other thing is to add a little Javascript to change the link to point to your new landing page. We can help with the latter if needed.
I updated my code post as I noticed an issue with ALL not hidden on category pages.
Let us know how it goes.
-
LindsayS got a reaction from creedon in How to remove the "all" category from my shop?
Thanks! Yes, the category is removed but I also would like to remove the content. 🙂
-
LindsayS got a reaction from Beyondspace in How to remove the "all" category from my shop?
How do I remove the "all" category from my shop. It lists ALL the products and I only want to list by category. I have tried all the code suggestions I could find on here but nothing seems to work. I am using Avenue. Version 7.0. Thanks!