Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Social media icons

social media icon
    • 9 years ago wpnoob
      Participant

      Expired

      Hello,

      How do i get social media icons bigger? They show up in the footer. Currently they are size of 32×32. I want them to be size of 45×45.

      Another thing which relates to those social media links. I want them to be opened to another tab, not to current tab. How I will do it?

    • 9 years ago Mirela
      Participant

      Hello,

      To increase/decrease socials size, please add this code into your custom css box:

      .footer_social_icons.circle li a i {
          font-size: 16px !important;
      }

      To open in new tab, please go to file \includes\widgets\codeless_socialwidget.php and find these lines:

      echo '<ul class="footer_social_icons '.esc_attr($style).'">';
         if( !empty($cl_redata['facebook']) )
          echo '<li class="facebook"><a href="'.esc_url($cl_redata['facebook']).'"><i class="icon-facebook"></i></a></li>';
         if( !empty($cl_redata['twitter']) )
          echo '<li class="twitter"><a href="'.esc_url($cl_redata['twitter']).'"><i class="icon-twitter"></i></a></li>';
         if( !empty($cl_redata['flickr']) )
           echo '<li class="flickr"><a href="'.esc_url($cl_redata['flickr']).'"><i class="icon-flickr"></i></a></li>';
         if( !empty($cl_redata['google']) )
          echo '<li class="google"><a href="'.esc_url($cl_redata['google']).'"><i class="icon-google"></i></a></li>';
         if( !empty($cl_redata['dribbble']) )
          echo '<li class="dribbble"><a href="'.esc_url($cl_redata['dribbble']).'"><i class="icon-dribbble"></i></a></li>';
         if( !empty($cl_redata['foursquare']) )
          echo '<li class="foursquare"><a href="'.esc_url($cl_redata['foursquare']).'"><i class="icon-foursquare"></i></a></li>';
         if( !empty($cl_redata['linkedin']) )
           echo '<li class="foursquare"><a href="'.esc_url($cl_redata['linkedin']).'"><i class="icon-linkedin"></i></a></li>';
         if( !empty($cl_redata['pinterest']) )
          echo '<li class="pinterest"><a href="'.esc_url($cl_redata['pinterest']).'"><i class="icon-pinterest"></i></a></li>';
         if( !empty($cl_redata['youtube']) )
          echo '<li class="youtube"><a href="'.esc_url($cl_redata['youtube']).'"><i class="icon-youtube"></i></a></li>';
         if( !empty($cl_redata['email']) )
          echo '<li class="email"><a href="'.esc_url($cl_redata['email']).'"><i class="icon-envelope"></i></a></li>';
         if( !empty($cl_redata['instagram']) )
          echo '<li class="email"><a href="'.esc_url($cl_redata['instagram']).'"><i class="icon-instagram"></i></a></li>';
      echo '</ul>';

      Replace with these:

      echo '<ul class="footer_social_icons '.esc_attr($style).'">';
         if( !empty($cl_redata['facebook']) )
          echo '<li class="facebook"><a href="'.esc_url($cl_redata['facebook']).'" target="_blank"><i class="icon-facebook"></i></a></li>';
         if( !empty($cl_redata['twitter']) )
          echo '<li class="twitter"><a href="'.esc_url($cl_redata['twitter']).'" target="_blank"><i class="icon-twitter"></i></a></li>';
         if( !empty($cl_redata['flickr']) )
           echo '<li class="flickr"><a href="'.esc_url($cl_redata['flickr']).'" target="_blank"><i class="icon-flickr"></i></a></li>';
         if( !empty($cl_redata['google']) )
          echo '<li class="google"><a href="'.esc_url($cl_redata['google']).'" target="_blank"><i class="icon-google"></i></a></li>';
         if( !empty($cl_redata['dribbble']) )
          echo '<li class="dribbble"><a href="'.esc_url($cl_redata['dribbble']).'" target="_blank"><i class="icon-dribbble"></i></a></li>';
         if( !empty($cl_redata['foursquare']) )
          echo '<li class="foursquare"><a href="'.esc_url($cl_redata['foursquare']).'" target="_blank"><i class="icon-foursquare"></i></a></li>';
         if( !empty($cl_redata['linkedin']) )
           echo '<li class="foursquare"><a href="'.esc_url($cl_redata['linkedin']).'" target="_blank"><i class="icon-linkedin"></i></a></li>';
         if( !empty($cl_redata['pinterest']) )
          echo '<li class="pinterest"><a href="'.esc_url($cl_redata['pinterest']).'" target="_blank"><i class="icon-pinterest"></i></a></li>';
         if( !empty($cl_redata['youtube']) )
          echo '<li class="youtube"><a href="'.esc_url($cl_redata['youtube']).'" target="_blank"><i class="icon-youtube"></i></a></li>';
         if( !empty($cl_redata['email']) )
          echo '<li class="email"><a href="'.esc_url($cl_redata['email']).'" target="_blank"><i class="icon-envelope"></i></a></li>';
         if( !empty($cl_redata['instagram']) )
          echo '<li class="email"><a href="'.esc_url($cl_redata['instagram']).'" target="_blank"><i class="icon-instagram"></i></a></li>';
      echo '</ul>';

      Save file.

      Best regards!

    • 9 years ago wpnoob
      Participant

      Expired

      New tab thing works, Thanks! But that CSS does not work yet (icons are still same sizes)

    • 9 years ago Mirela
      Participant

      Hello,

      Increase the values more. Until you get the size you want.

      Best regards!

    • 9 years ago wpnoob
      Participant

      Expired

      I did but no effect :( Do have to modify CSS file manually or what?

    • 9 years ago Mirela
      Participant

      Hello,

      Perhaps you are using other css classes. Open page with inspect element and find the right css classes to edit. Or send us your site’s url. We can give you the specific code to add.
      Let us know.

      Best regards!

    • 9 years ago wpnoob
      Participant

      Expired

      Here’s the site.

    • 9 years ago Mirela
      Participant

      Hello,

      I see the footer icons have the color altered by custom css, but i didn’t see the font size code for it. Did you added it? However, please try this code:

      .footer_social_icons.circle li a i {
          font-size: 25px !important;
      }

      Result.
      If still no luck, then go to file style.css and find these lines:

      .footer_social_icons.circle li a i{
        color:#fff;
        line-height:32px !important;
        font-size:14px !important;
      }

      Remove !important from font size.

      Best regards!

    • 9 years ago wpnoob
      Participant

      Expired

      Removing !important worked, Thanks!

Viewing 8 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password