Archived

This topic is now archived and is closed to further replies.

  • 0

Changing Old Twitter Header Icon in Station Pro


Question

Posted · Report post

Hey guys how do I change/replace the twitter icon in Station Pro?

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Found it: "social_icon_sprite.png" ... used Firefox's inspector to figure this out.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, you'll need to edit the header.php to insert new logo, this will be along the same guidelines as the other legacy themes. Please see - http://www.pagelines.com/forum/topic/14981-adding-icons-next-to-social-buttons/ which gives a guide for changing the icons in whitehouse pro, the same procedure can be used for station pro.

Share this post


Link to post
Share on other sites

Posted · Report post

Okay I found the file and all I could find relevant to "twitter" was this code:

 

 

<?php if(pagelines('twitterlink')):?>
<a target="_blank" href="<?php echo pagelines('twitterlink');?>" class="twitterlink"></a>
<?php endif;?>

 

... Where would I enter the URL of my custom icon?  OR even easier, where is the image stored?  I could just swap out the image, yes?

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, sorry was trying to track down a version of station pro to check for you. Yes you could just swap the image over instead of adding a new url. You'd need to make sure the image file was called the same.

 

Looking in this copy of station pro the file is called ico-twitter.png and it's in the images>icons folder. If you call your new image that and drop it in to that folder using ftp it will overwrite the existing image file.

Share this post


Link to post
Share on other sites

Posted · Report post

Okay so this is crazy strange... I replaced the icon in the 'icons' folder, yet the old Twitter icon persists!  Deleted my link info in Station Pro's control panel ... icon disappears.  Added the URL back into the control panel, and the same old icon appears!

 

So then I emptied the image cache on my browser.  No change... same old Twitter icon!

 

Tried viewing in other browsers ... and that old Twitter icon is still there.  

 

Completely deleted the ico-twitter.png from the icons folder and repeated everything above ... and the old icon remains up instead of my new one.

 

So .. I must assume this image is copied or hosted elsewhere, yes?  Can I change that in the code maybe?

 

 

Thanks for the support by the way!  I really appreciate it.

Share this post


Link to post
Share on other sites