Title: Image Source &#8211; customise CSS
Last modified: August 31, 2016

---

# Image Source – customise CSS

 *  [hw-design](https://wordpress.org/support/users/hw-design/)
 * (@hw-design)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-source-customise-css/)
 * Hello, I’m very new to coding and WordPress so I was hoping someone could help
   and please forgive my ignorance!
 * I’m trying to change the header facebook logo and tags to linkedin for my portfolio
   site. I think I’ve found the section of code I need to look at in editor:
 *     ```
       <?php } ?>
       				<?php if(get_option($shortname.'_facebook_link','') != '') { ?>
       					<a href="<?php echo get_option($shortname.'_facebook_link',''); ?>"target="_blank"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/facebook-icon.png" alt="facebook" /></a>
       ```
   
 * The image seems to link to a directory I can’t access, is there a way I can get
   it to route to an image I have in my media?
 * I have the logo there: [http://www.hw-design.co.uk/wp-content/uploads/2016/01/LinkedIn_logo.png](http://www.hw-design.co.uk/wp-content/uploads/2016/01/LinkedIn_logo.png)
 * The link should follow through to linked in – I changed that in Appearance>Gallery
   Settings

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [jack randall](https://wordpress.org/support/users/theotherlebowski/)
 * (@theotherlebowski)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/image-source-customise-css/#post-6963138)
 * can you not do this through your theme’s options panel? if you’re new to coding
   and wordpress then diving into customising template files with placeholder variables
   and other php goodies is a bit like trying to punch a shark when you’ve only 
   kept goldfish!
 *  Thread Starter [hw-design](https://wordpress.org/support/users/hw-design/)
 * (@hw-design)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/image-source-customise-css/#post-6963244)
 * Unfortunately not – that would be a lot easier. I have options on there for every
   other social site apart from my important one! I thought the best way would be
   to go into the theme options and link the already set up Facebook one to linked
   in, then just change the image reference to one from my media, and the alt tags
   etc.
    I know a few basics and I’m trying to get more confidence with it. I had
   a site a few years ago that I fiddled round with quite a lot. I find that if 
   you always keep a copy of sound code ready to paste back in, only change small
   bits at a time and only tags and things you recognise then nothing too catastrophic
   will happen (touch wood)! Would another option be to upload the image to my styesheet_directory
   via FTP and then just change the filename to the linked in one? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Image Source – customise CSS’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [image source](https://wordpress.org/support/topic-tag/image-source/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [hw-design](https://wordpress.org/support/users/hw-design/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/image-source-customise-css/#post-6963244)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
