- Posts: 30
COMMUNITY FORUM
offscreen title
- Nektarios Mavrogiannakis
-
Topic Author
- Offline
- Junior Member
Less
More
9 years 10 months ago #145335
by Nektarios Mavrogiannakis
offscreen title was created by Nektarios Mavrogiannakis
Dear partners,
could you help me to set module title offscreen but not hidden. I read that in order to adopt a seo frienldy site I need to set module titles offscreen. I added in custom code css
.offscreen
{
position: absolute;
clip: rect(1px 1px 1px 1px); /* for Internet Explorer */
clip: rect(1px, 1px, 1px, 1px);
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
}
but it doesnt work.
Do you have any suggestions?
Many thanks
could you help me to set module title offscreen but not hidden. I read that in order to adopt a seo frienldy site I need to set module titles offscreen. I added in custom code css
.offscreen
{
position: absolute;
clip: rect(1px 1px 1px 1px); /* for Internet Explorer */
clip: rect(1px, 1px, 1px, 1px);
padding: 0;
border: 0;
height: 1px;
width: 1px;
overflow: hidden;
}
but it doesnt work.
Do you have any suggestions?
Many thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago - 9 years 10 months ago #145341
by Krikor Boghossian
Replied by Krikor Boghossian on topic offscreen title
Nektarie you should use these values.
Correct if I'm wrong, you are using some of our templates.
You can find these values in the .visuallyhidden class.
border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
Correct if I'm wrong, you are using some of our templates.
You can find these values in the .visuallyhidden class.
Last edit: 9 years 10 months ago by Krikor Boghossian.
Please Log in or Create an account to join the conversation.
- Nektarios Mavrogiannakis
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
9 years 10 months ago #145345
by Nektarios Mavrogiannakis
Replied by Nektarios Mavrogiannakis on topic offscreen title
Thank you for the quick reply. Sorry for posting here by mistake... I would like to use the visuallyhidden class for the title of the hero slideshow in Matchbox template. Is it possible?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #145346
by Krikor Boghossian
Replied by Krikor Boghossian on topic offscreen title
You where correct to post here, since this is not an issue directly related to a template.
Use this snippet as a reference
Paste this snippet in the custom.css file.
Use this snippet as a reference
.YOUR MODULE_SUFFIX h3.moduleTitle { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
Paste this snippet in the custom.css file.
Please Log in or Create an account to join the conversation.
- Nektarios Mavrogiannakis
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 30
9 years 10 months ago #145352
by Nektarios Mavrogiannakis
Replied by Nektarios Mavrogiannakis on topic offscreen title
Thank you once again! It works! :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 10 months ago #145353
by Krikor Boghossian
Replied by Krikor Boghossian on topic offscreen title
You 're welcome :)
Please Log in or Create an account to join the conversation.