Jump to content
Sign in to follow this  
churchillstudios

Changing Old Twitter Header Icon in Station Pro

Recommended Posts

churchillstudios    0
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    436
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    0
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    436
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    0
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    0
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

    • 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?
       

    • maggiebbass
      By maggiebbass
      Can anyone help me get twitter cards set up, or point me in  the right direction? I've seen a lot of how to's floating around, but none are specific to the DMS user, so I'm running into the problems because whereas the benefit to the DMS is the lack of needing to code really, but all the directive I have on installing it involves adding code someplace, and I'm not sure how to do this. I've set up my jetpack as described below, and I even have JM twitter card plug in--which I really thought was solving the problem. No matter what though, when ever I try to link or post t twitter is just posts a link as it always has. No picture of anything. Any advice on what to do would be great!
      https://dev.twitter.com/cards/cms-integration
×