Can I hidden determinate forums? Thanks !Less:[data-template="forum_list"] { .p-title-value { visibility: hidden; } }
<h1>
<img src="yournodeimage.png" alt="Your Node Title" />
</h1>
I add this in extra less but doesn’t works@ioneti Be aware this is your h1 tag for your node pages and hiding its' content using CSS (whether it's visibility: hidden or z-index: -1, etc.) has the possibility of negatively affecting your page SEO. Doing this with a standard image can be overcome by using something like the code below:
Code:<h1> <img src="yournodeimage.png" alt="Your Node Title" /> </h1>
With the solution above Google would pick up on the alt text and use it for the node page h1.
The issue you are going to run into is when using a background image for an h1 tag there is no option for alt text. Just be aware that the original page title text must be readable by Google within the h1 tag in order to not affect your current node page SEO.
Where and how can I make it? ThanksThe above code is not CSS/LESS and does not belong in extra.less. You would need to do a template modification to use the code like above. I would not suggest hiding your h1 tags content with CSS/LESS until you have another h1 SEO solution in place.
But I can’t hide the tittles…when I hide them we can talk about seoI would need to know whether you are using an HTML image in place of your h1 tag or a CSS background image. The coding for both would be completely different in order to maintain on page SEO.
[data-container-key="node-22"],Less:[data-container-key="node-5"], [data-container-key="node-13"], [data-container-key="node-xx"] { .p-title-value { visibility: hidden; } }
Doesn’t work…I add this :No, in theextra.less
template, sorry i forget to indicate this.
Yes, correct forum id…
No, xenfocusNo the code is correct, do you use XenForo original style ?
We use essential cookies to make this site work, and optional cookies to enhance your experience.