Hello dear Colorlib community,
use your themes a long time since they are pretty awesome and also free which is super cool.
I recently added sparkling and i have an issue, i wanted to change the href link to the header image in the css file, but i cannot locate that file on my ftp. I just dont know in which File the sparkling theme stores this information
>div=“logo”>
< img src=“http://test.blabla” alt=“xyz” width=“100” height=“41” / >
end of #logo
something like this is the code, which can be found when you rightclick on the website and check the source code of the page via firefox, but how do i know in what File is this information located so i can change it ? I wanted to change it directly in the file on my ftp not via custom css code in the dashboard.
I hope you are well today and thank you for your question.
This is not possible to change using CSS code and you have to change it in the theme file.
You can change it by editing header.php file in your child theme and change logo url added in the href attribute of anchor tag displayed in the below code snippet on line number 52 in that file.
<a>"><img>" height="height; ?>" width="width; ?>" alt=""/></a>
<!-- end of #logo -->
i ask because the problem here was i got an svg logo which cannot be imported into the media… thats why i uploaded it to the ftp and wanted to integrate it manually into the header… but idk doesnt work for me currently does your steps above also work without a childtheme ? i tried but didnt worked for me (made backups of header ofc)
now i only have one problem left… the header picture seems not central more like totally on top of the page… how to get it in the middle of the header ?
here you can see what i mean… i dont want to put it in the center of the page it should stay on the left site… but i want to center it how i draw it… i like to have the middle of the logo exactly where the 2 dots are… how to realize this o.O doesnt work at all with a code like this