This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unable to change the logo for the Greek language because it is hardcoded in the theme's
header-menu.php
file.
Solution:
We recommend modifying the hardcoded image URL in the
themes/salient-child/includes/partials/header/header-menu.php
file to the desired logo for the Greek language. Here is the section of code that needs to be updated:
<?php if(ICL_LANGUAGE_CODE=='el'){ ?> <a id="logo" href="https://www.cap.com.cy" data-supplied-ml-starting-dark="false" data-supplied-ml-starting="false" data-supplied-ml="true"> <img class="stnd skip-lazy" width="211" height="80" alt="C.A. Papaellinas Group" src="[URL to the Greek logo]"> <!-- Additional image tags if necessary --> </a> <?php } else { ?> <!-- Code for other languages --> <?php } ?>
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 1 replies, has 2 voices.
Last updated by 1 year, 1 month ago.
Assisted by: Bruno Kos.