Viewing 20 posts - 1 through 20 (of 35 total)
  • Author
    Posts
  • #104252
    marie21
    Participant

    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.

    #104297
    Mahesh
    Participant

    @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,
    Mahesh

    #104316
    marie21
    Participant

    Thank´s for your quick response 🙂

    #104380
    Mahesh
    Participant

    @marie21: Thank you for your appreciation. Have a nice day!

    Regards,
    Mahesh

    #111461
    marie21
    Participant

    Hi 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 🙂

    #111507
    Mahesh
    Participant

    @marie21: Sorry, this is not possible with CSS.

    Regards,
    Mahesh

    #111732
    marie21
    Participant

    Hi 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 🙂

    #111734
    Mahesh
    Participant

    @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,
    Mahesh

    #111870
    marie21
    Participant

    Hi Mahesh,

    the try to answer ends in “you are blocked” Cloudflare Ray ID: 33ef68293ac02726 …

    #111916
    Mahesh
    Participant

    @marie21: Can you please try again? Let me know of the problem.

    Regards,
    Mahesh

    #111918
    marie21
    Participant

    Good 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.

    #111919
    marie21
    Participant

    I´m sorry. Can´t write more because I´m blocked all the time – also if I remove all code snippets,…

    #111993
    Mahesh
    Participant

    @marie21: Please post in your site url.

    Regards,
    Mahesh

    #111998
    marie21
    Participant

    Of course: nest-electronics.com

    #111999
    Mahesh
    Participant

    @marie21: Please try disabling all the plugins and try again. Let me know further.

    Regards,
    Mahesh

    #112123
    marie21
    Participant

    Hi,
    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.

    #112172
    Mahesh
    Participant

    @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,
    Mahesh

    #112174
    marie21
    Participant

    Good morning Mahesh,

    parant theme is activated right now an still the same problem. All plugins are still disabled.

    Regards

    #112175
    marie21
    Participant

    … 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???

    #112179
    marie21
    Participant

    … 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 ….

    🙁

Viewing 20 posts - 1 through 20 (of 35 total)
  • The topic ‘Featured Slider – alt="" Tag’ is closed to new replies.