How to change the site name in theme destyle
Permalink 1 user found helpful
Hi all, I'm new to Concrete5 and just starting to suss out how to work with it. I'm using theme destyle and would like to know how to change the site name from within the header.php - my code is:
I'm looking to replace the site name with a logo. I understand it can be done from the scrapbook area, but would like to know how to change it from the header.php if possible?
I'm not a php coder, but have played around with bits and bobs.
When I replace the above code from the destyle theme with:
I can see the logo, but am I missing out on some functionality of the cms with the destyle code?
Many thanks, S
I'm looking to replace the site name with a logo. I understand it can be done from the scrapbook area, but would like to know how to change it from the header.php if possible?
I'm not a php coder, but have played around with bits and bobs.
When I replace the above code from the destyle theme with:
I can see the logo, but am I missing out on some functionality of the cms with the destyle code?
Many thanks, S
no. The first code loads the scrapbook block, so if you don't want that you aren't missing anything.
Hi guys, thanks for your replies. I should have said that when I change the template from destyle to the default one I get to see the logo in place of the my site name text. But it doesn't work in destyle. I'm thinking it must be an installation problem with destyle.
The destyle folder is sitting in the themes folder, but not in the themes folder that is within the 'concrete' folder. Could this be the problem?
The destyle folder is sitting in the themes folder, but not in the themes folder that is within the 'concrete' folder. Could this be the problem?
are you editing destyle and not the default theme? it shouldn't be in the concrete folder, it should be in root/pacakges
All sorted guys, it was an installation issue. I started the installation from scratch so the package is installed where it should be now, in the 'packages' folder. Thanks.
Sannie I am the author of Destyle, there is a really simple solution, go to your dashboard, click on scrapbooks, make a new one and call it Global, then add a Content block in that scrapbook, add your image, save, then hit rename on the block and make it "My_Site_Name" now clear your cache.
Cheers Mnkras, all sorted now thanks.
this post is a little outdated. i want to change that concrete image/text or what it is but scrapbook doesnt exist anymore. how can i do that?
I am trying to do the same with my logo. This is the only place I found related to this subject. I am so confused on this. Thanks in advance for the help.
try this:
<img src="<?=$this->getThemePath()?>/images/photo.png">
[code]
I have a cheat sheet you will find helpful athttp://www.weblicating.com/c5/cheat-sheet/...