QUESTION How to add my company logo? - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: QUESTION How to add my company logo? (/showthread.php?tid=8022) |
How to add my company logo? - JonBoy49 - 2016-02-21 After wrestling with Drupal and Wordpress for a while I came upon GetSimple while looking for a CMS with a lower complexity level for a simple web site. SO far I love what I see but ... The one thing I can't find is how to simply add the company logo instead of the name. I'm using the Innovation theme and this was so easy in the other CMSs (about the only thing that was!) but I can't find how to do it here. I searched but the only thread I could find gave instructions that must have been for an old version or something as they simply don't work. Can someone please point me in the right direction. RE: How to add my company logo? - jwzumwalt - 2016-02-22 (2016-02-21, 12:37:59)JonBoy49 Wrote: The one thing I can't find is how to simply add the company logo instead of the name. Not quite sure what your looking for... The site name is in the admin menu under "Settings" there is a text field [Website Name] On line 45, 46 of headers.inc.php in your theme folder is where your logo is displayed and can be customized. <!-- logo/sitename --> <a href="<?php get_site_url(); ?>" id="logo" ><?php get_site_name(); ?></a> in style.css lines 62-79 is the format for the header LOGO /* HEADER: logo */ header #logo { position:absolute; top:20px; left:0; font-size:35px; white-space:nowrap; color:#fff; font-family: 'Yanone Kaffeesatz', arial, helvetica, sans-serif; text-transform:uppercase; text-shadow: 1px 1px 0px rgba(0,0,0, .4); } header #logo:link, header #logo:visited, header #logo:hover, header #logo:focus { text-decoration:none; } If this is not what your looking for, please provide more information RE: How to add my company logo? - shawn_a - 2016-02-22 People use the admin css plugin to add stuff to backend RE: How to add my company logo? - Charpy1 - 2016-02-23 First upload your logo into your website files and copy the full picture url. Go into your admin panel, on Theme / Modify your theme and edit the "header.inc.php" file. Replace : <?php get_site_name(); ?> by : <img src="http://www.your.full.path.to.company.logo.png" alt="Your Company Name" /> RE: How to add my company logo? - datiswous - 2016-02-23 (2016-02-23, 02:49:39)Charpy1 Wrote: First upload your logo into your website files and copy the full picture url. Or something like: PHP Code: <a href="<?php get_site_url(); ?>"><img src="<?php get_theme_url(); ?>/images/logo.jpg" alt="<?php get_site_name(); ?>"></a> <?php get_site_url(); ?> is changed to the domain url when rendering the page. <?php get_theme_url(); ?> is changed to the rootfolder of the theme. <?php get_site_name(); ?> is changed to the name of the site as specified in Website Settings in GS. For more info on template tags see here: http://get-simple.info/wiki/themes:template_tags There are actually plugins which make it possible to implement a configuration page for a theme so you can change such settings. But theme makers do not often implement them. Theme Settings GS Custom Settings RE: How to add my company logo? - JonBoy49 - 2016-02-23 Thanks one and all for the information. Each of you added something I didn't know so it all was useful. I just wasn't expecting to have to modify source code so I figured I was missing something. Now I just have to work out how to make the logo area larger and I'm good to go. Thanks again. RE: How to add my company logo? - shawn_a - 2016-02-23 For some reason i read source code and assumed this was for the back end SITENAME. As it is a trvial thing for front end, as you are meant to modify templates., thats the point and why we include a theme editor. So ignore this, but if you wanted this on backend here. ........ Use the css and stick a psuedo element.. Code: #sitename:before { http://get-simple.info/extend/plugin/custom-admin-css/15/ Or use my hook component plugin or a plugin and insert using jquery. |