and one more cuestion..
How can I change the socials icons by custom images icons?
Thanks for using Tracks!
The problem with editing the theme files is that you will lose these changes when you update to a newer version of Tracks. What you can do instead, is override the existing CSS by adding your own to the “Custom CSS” section in the Customizer.
You have commented out some of the logo’s CSS. If you uncomment the CSS, the logo will appear small again on mobile devices. Then you can allow the logo to be much larger on wider screens with the following CSS:
@media all and (min-width: 800px) {
.site-title .logo {
max-width: 380px;
max-height: 100px;
}
That CSS can be copied & pasted into the “Custom CSS” section in the Customizer.
You can change those values to allow it to be bigger or smaller, and also change the “media query” to change when the logo should become larger if you’d like.
For the custom images for social icons, there’s currently not an easy way to do this. It would take quite a bit of custom code, but I can point you in the right direction if you’d like.
Thanks Ben! Voy a probar hacerlo de esta forma.
Thanks Ben! I’ll try to do it this way.
ben, it looks great now.
Thanks!!
I could manually resolve the issue of social icons.
I set aside this line of code in the FOOTER
<———– <? php
// Add social icons if September
if ((get_theme_mod (‘social_icons_display_setting’) == ‘header-footer’) || (get_theme_mod (‘social_icons_display_setting’) == ‘footer’)) {
ct_tracks_customizer_social_icons_output ();
}
?> ———–>
and then add this:
<div>
<img src = “<? php echo get_template_directory_uri ();> / social / facebook.png” width = “45” height = “45” alt = “” title = “” />
<img src = “<? php echo get_template_directory_uri ();> / social / twitter.png” width = “45” height = “45” alt = “” title = “” />
<img src = “<? php echo get_template_directory_uri ();> / social / youtube.png” width = “45” height = “45” alt = “” title = “” />
</ div>
I dont know if its the best way, but it worked perfect.
Thanks Ben!
Excellent, nice work!
I would make one small change to your current solution. Instead of editing the footer.php file in the parent theme, you could copy the entire footer.php file into the child theme and make your edits there.
This way, the child theme’s version will be loaded instead and won’t get overwritten if you update Tracks.
Hi Brunoarri
i believe that ben suggestion solved your problem. Do you still need help?
Regards,
vijay Wp Developer
Hi Vijay.
the problem has been solved.
thanks!