- This topic has 1 reply, 2 voices, and was last updated 6 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘Edit Header in PHP code’ is closed to new replies.
Hello,
I would like to ask you for help. I am testing Trusted theme in WP. I am searching in the header.php the code how the header image and page title are set in the code, but I cannot find any reference about header image and pate title in header.php.
I would like to find it for future customizing in a way of carousel usage or implementation of idea to insert logo over the background image.
Please can you help me where to look?
Thank you.
Regards,
Vilem
In header.php file you will see reference to the trusted_header_title() function on line 114. This function is located in /functions/extras.php starting at line 546 and it is this that contains the output of the page title.
The header background image is output by dynamic CSS in the trusted_dynamic_style() function also in /functions/extras.php. The part that specifically deals with the header image can be found at line 144 $css[] = '.main-header{background-image: '.'url( '.$page_header_bg.' )}';