Jump to content
Sign in to follow this  
churchillstudios

Changing Old Twitter Header Icon in Station Pro

Recommended Posts

churchillstudios

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

Share this post


Link to post
Share on other sites
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
churchillstudios

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
James B

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.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
churchillstudios

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
churchillstudios

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • Dan Haddock
      By Dan Haddock
      DMS: Latest Version
      Running a Child Theme
      Wordpress: 4.8.3
      Plugins:
      Akismet Anti-Spam 
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools    
      Enhanced Media Library
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap    
      Jetpack by WordPress.com
      Legull
      Loginizer   
      MailChimp for WordPress
      PageLines Updater
      Really Simple SSL
      Schema App Structured Data
      Sucuri Security - Auditing, Malware Scanner and Hardening  
      Uber reCaptcha
      Yoast SEO
      Problem Below
      Hi Team,
      I am looking to style the Continue Reading Button with the PHP you provided in an earlier ticket here: 
       
      I put the PHP code into my site, however I do not get my Icon back, I just get back Read More >>
      I have attached a screenshot of the code in place on my site along with the output.
      Interested to know what I may be doing wrong? - I am very new to PHP so a bit apprehensive on this.
      The Images: https://drive.google.com/open?id=0B0i4JJXa2jdQN2xoakZNRUdmaU0
      Let me know if you need any more information from me.
       
    • jagipson
      By jagipson+
      Should be a simple answer but not sure why its not doing this.  I have a child theme installed on pagelines 5 that has a hook so it will write over the theme css. Strange is that when I am on the frontend the code works but in the dashboard your theme takes over my code and its no where to be found. See examples attachments
      @Andrew @Danny


    • tristanrodgers
      By tristanrodgers+
      Hi there!
      I'd love to have some social media buttons in my navbar like my online-shop has!
      http://mc1r-magazine.com/
      Can someone explain me how to create them? I tried a lot but don't know how to realize them...
      Greetings from Germany,
      Tristan
    • webbdo
      By webbdo+
      Hi,
      In the social links Twitter shows 404 error in the API. Example:
      "GET http://urls.api.twitter.com/1/urls/count.json?url=http://www.webbdo.se/cybe…onday/&callback=jQuery1113017799108568578959_1449307004771&_=1449307004772 "
      This on all posts that have the "social links" and Twitter included.
      See example: http://www.webbdo.se/cyber-monday/
      How can it be fixed?
       
    • hibbsy78
      By hibbsy78+
      I'm getting an issue on page load with the status 'Waiting for urls.api.twitter.com' on http://www.johnhibbs.me/ which is causing a problem when trying to edit the site. 
      Anyone else getting this?
       

×