Tagged: featured slider
- This topic has 34 replies, 2 voices, and was last updated 7 years, 8 months ago by Mahesh.
-
AuthorPosts
-
November 30, 2016 at 5:17 pm #104252marie21Participant
Hello,
How do I enter the alt=”” tag for the homepage featured slider images? I tried using the page title already (and hide this of course) but that´s not the right solution:
<article class=”page pageid-96 hentry slides displayblock”>
<figure class=”slider-image”>
</figure><!– .slider-image –>The alt=”” is still empty … the picture itself has filled in the text for alterative Tag.
Thank you very much in advance.
December 1, 2016 at 1:17 pm #104297MaheshParticipant@marie21: Catch Responsive has Featured Page Slider that uses selected page’s featured image as Slider Image. And automatically it uses Page’s title as title and alt property of
<img>
element. If you want to have custom title and alt, I recommend you to upgrade to Pro version. It has Featured Custom Slider featured.Regards,
MaheshDecember 1, 2016 at 6:38 pm #104316marie21ParticipantThank´s for your quick response 🙂
December 2, 2016 at 10:21 am #104380March 7, 2017 at 8:30 pm #111461marie21ParticipantHi Mahesh,
unfortunately the “alt” tags from the featured slider will be not recoverd if I do some SEO-tests (Result ALT text: no ALT text).
Could it be, that the customer css .page .featured-slider .entry-title { display: none; } hides it from google and co. ?
Because title = alt like we discussed above …?Is there a possibility to add in custom css a special “alt” only for this sides e.g.
.page-id-98 alt=”picture about something blabla”;Page ID 98 is one of the featured-slider pages ( 1 of 3).
Thank´s for response 🙂
March 8, 2017 at 1:02 pm #111507March 10, 2017 at 5:00 pm #111732marie21ParticipantHi Mahesh,
now I checked the slider pic´s with this google tool (don´t know how it´s namend in english – click right mouse and chose pic to see the details) – so the title=”” is empty and the alt=”” as well.
If I hide .page .featured-slider .entry-title { display: none; } in the customer css or not it dosn´t matter for this title=”” , will mean it stays still emtpy if I delete the “hide blablanla” or not.
Now if I like to modify the childtheme functions.php to
$catchresponsive_first_image = catchresponsive_get_first_image( $post->ID, ‘medium’, array( ‘title’ => esc_attr( $title_attribute ), ‘alt’ => esc_attr( $alt_attribute ), ‘class’ => ‘pngfix’ ) );‘alt’ => esc_attr( $alt_attribute ) -> this seems to be wrong. Could you please help me out with how I have to do it right?
Thank you very much in advance 🙂
March 10, 2017 at 5:19 pm #111734MaheshParticipant@marie21: By default, title and alt attributes are set to have title of the of the page being chosen as the slider. What actually do you want to change it to? Let me know further.
Regards,
MaheshMarch 13, 2017 at 7:27 pm #111870marie21ParticipantHi Mahesh,
the try to answer ends in “you are blocked” Cloudflare Ray ID: 33ef68293ac02726 …
March 14, 2017 at 11:11 am #111916March 14, 2017 at 1:22 pm #111918marie21ParticipantGood morning Mahesh,
Sorry for confusing you.
My first problem is (actually it´s mayby my misunderstanding) if I use featured-page-slider and name the page in the title-line for example “Slider1” than normally the “slider1″ is be shown in the code if I check the side – right?!?
But unfortunatelly the title=”” is still empty and the alt=”” as well.March 14, 2017 at 1:32 pm #111919marie21ParticipantI´m sorry. Can´t write more because I´m blocked all the time – also if I remove all code snippets,…
March 15, 2017 at 12:25 pm #111993March 15, 2017 at 1:20 pm #111998marie21ParticipantOf course: nest-electronics.com
March 15, 2017 at 2:15 pm #111999MaheshParticipant@marie21: Please try disabling all the plugins and try again. Let me know further.
Regards,
MaheshMarch 16, 2017 at 9:59 pm #112123marie21ParticipantHi,
all plugins are disabeld now. So the mobil device navigation is now shown and working again 😉
but no slider title and no slider alt as well.March 17, 2017 at 12:15 pm #112172MaheshParticipant@marie21: You are using child theme. Please try activating parent theme and check if the problem persists. Let me know if the problem persists.
Regards,
MaheshMarch 17, 2017 at 1:04 pm #112174marie21ParticipantGood morning Mahesh,
parant theme is activated right now an still the same problem. All plugins are still disabled.
Regards
March 17, 2017 at 1:14 pm #112175marie21Participant… cleaned the browser-cache twice and now I ca see the title and the alt as well.
So, that means the is some bug in the child-theme 🙁
Do you have any idea where I have to look or how I can fix it???March 17, 2017 at 2:23 pm #112179marie21Participant… so now it becomes more and more confusing.
If I activate the parents theme the slider title and alt appears but only if I do a change in some of the page which are used as slider at first. Then the source code is showing title=”permalink to:name of the side” and alt as well (also with permalink to).
If I switch the theme from parent to child, then title and alt is shown – but the slider is linked as permalink 🙁
Child theme: Now – if I change the text in the page which is used as slider and check the source code again … title and alt is empty again AND the permalink to is gone (as it should be).
All plugins are still disabled after the switch parent to child theme. As sone as I save some changes in the textbox of the used slider page ….
🙁
-
AuthorPosts
- The topic ‘Featured Slider – alt="" Tag’ is closed to new replies.