-
AuthorPosts
-
December 1, 2014 at 9:04 am #155883
Hello.
The X theme is great!
One question, it seems alt attributes are not populating on image slides in Revolution Slider (version 4.6.0).
Alt tags are set within the media library, and on the image slide’s alt attribute field, and the image slide link / image title fields are set as well.
Is there some simple way to get alt tags populating? Or does this require a newer version of Revolution Slider?
Example: The slider image on the top of the page..
http://bit.ly/12eLHgVThanks!
December 1, 2014 at 9:38 am #155906Hi there,
Thanks for writing in! You can add alt text via revolutions slider. When you add an image layer, under the text box where it has the image title there is an alt text box you can use.
Hope this helps! Thanks!
December 4, 2014 at 10:08 am #158322Thanks for the response. Yes I do see that alt tag field that goes with each image layer. The field is filled out but the alt tags are empty when viewing the page. Title attributes are set as well
This also appears to be the behavior on another site running X theme and Revolution slider.
This site has alt tags set like the screenshot as well but they appear empty for the various image elements in the slider. http://bit.ly/1rUTDQ1Hmm or is there something simple being overlooked?
December 4, 2014 at 3:17 pm #158546Hey Brian,
Thank you for writing in, maybe because the main images in rev slider is set as a background and not an img so we can not put an alt attribute to it. The images on http://biztech.com/ were layer images so we did saw an alt attribute there.
Hope this helps. Cheers.
December 15, 2014 at 7:26 pm #165160I have found that the Logo under integrity stack is also missing the ALT tag. For SEO optimization we need to be able to edit that field. I have added the Alt tag in the media library and also added it within the meta data of the image itself. Yet it still doesn’t show. Please help!
December 16, 2014 at 2:14 am #165321Hi,
Thanks for writing in!
Can you confirm that you are fully updated? (Theme and Plugins)
You can find the latest version numbers here: (http://theme.co/x/member/changelog/) Then you can compare them to what’s installed on your site.
If you find anything to be out of date, you can review our update guide.
Also please provide us your site url so we can see the issue first hand.
Thanks
May 1, 2015 at 3:18 am #262914I’m having the same problem with finding the alt input field for the logo, right now it just has a ton of key words which is not ideal…
How do I modify the alt text for the logo?
birminghamjanitorialservices.com
Thanks for the help!
May 1, 2015 at 7:33 am #263043Hi @beernerd,
Thanks for writing in!
By default the logo of your website uses your site’s description under the alt tag (see: http://prntscr.com/70956a). If you wish to change it to something else, it’ll require a template change. Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
After that, copy the file wp-content/themes/x/framework/views/global/_brand.php in your child theme’s folder /framework/views/global/, open the copied file in a text editor and locate the following line code of code:
$site_logo = '<img src="' . $logo . '" alt="' . $site_description . '">';
Replace this line with following:
$site_logo = '<img src="' . $logo . '" alt="YOUR CUSTOM ALT TEXT">';
Now replace YOUR CUSTOM ALT TEXT with your custom alt text from the code.
Thanks!
May 2, 2015 at 8:27 am #263811Thanks!
I’m really very new to editing these types of documents…
Answer:
* “After that, copy the file wp-content/themes/x/framework/views/global/_brand.php in your child theme’s folder /framework/views/global/, open the copied file in a text editor and locate the following line code of code:”
Question:
Do I need to be doing this with an FTP, on my desktop, or somewhere in wordpress?May 2, 2015 at 8:37 am #263817Hi there,
Yes, you need to connect through FTP connection to modify files.
Thanks.
May 2, 2015 at 12:11 pm #263906Hi, sorry for the trouble but I modified the .php as requested and still no change…
`$site_name = get_bloginfo( ‘name’ );
$site_description = get_bloginfo( ‘description’ );
$logo = x_make_protocol_relative( x_get_option( ‘x_logo’ ) );
$site_logo = ‘‘;
?>
<?php echo ( is_front_page() ) ? ‘<h1 class=”visually-hidden”>’ . $site_name . ‘</h1>’ : ”; ?>
Have I messed up? Is there a way to find the main file where this is pulling from?
Thanks for the help,
May 2, 2015 at 12:29 pm #263910Hi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:– WordPress Admin username / Password
– FTP AccountDon’t forget to select Set as a private reply. This ensures your information is only visible to our staff.
May 2, 2015 at 12:48 pm #263919This reply has been marked as private.May 2, 2015 at 7:37 pm #264032Hi there,
Your cpanel login is correct. And your changes is working because under Admin > Settings > General > Tagline is “Greater Birmingham Area Janitorial Cleaning Services, Office Cleaning and Building Maintenance Contractors”. And your logo’s alt text is “Birmingham Janitorial Services, Inc.”.
Which means it’s working.
Thanks!
May 3, 2015 at 8:42 am #264361Thank you so much for the help!! I know your time is valuable and I’m really sorry it was something that simple…
I did look everywhere for a way to modify that and I’ve been in that menu way too many times not to have seen it before now.
Thank you!!!
-
AuthorPosts