weather anchor link

Posted in: Newspaper
Post count: 32

hi guys,
My client needs an anchor link in the header (weather section).
I tried this in td_weather.php (line 148):


<div class="td-weather-top-widget" id="<?php echo $weather_data['block_uid'] ?>">
<i class="td-icons <?php echo $weather_data['today_icon'] ?>"></i>
<div class="td-weather-now" data-block-uid="<?php echo $weather_data['block_uid'] ?>">

<span class="td-big-degrees"><?php echo $weather_data['today_temp'][$current_unit] ?></span>

<span class="td-weather-unit"><?php echo $current_temp_label ?></span>
</div>
<div class="td-weather-header">
<div class="td-weather-city">
<?php echo $atts['w_location'] ?>
<?php echo "/ Clima Extendido"; ?>
</div>

</div>

</div>

Link works but I have a problem when the user click in the numbers (the link disappear)
any idea is welcome!
regards

link weather

Post count: 20688

Hi,

Try to add that in a different location, maybe like this below the div with the location
https://www.screencast.com/t/4ryHkZaVW
Should work like that, give it a try.

Thanks

Post count: 32

Thanks Simion, it works fine!
Best wishes

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.