- This topic has 1 reply, 2 voices, and was last updated 3 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Header Image not served by CDN
Hi,
All my images are being served by my CDN apart from my Header Image.
When I place the same image in a normal page it is served by the CDN, but when it’s set as the Header Image it is served locally, so it looks like the theme is causing it.
Here it is being served by the CDN when it’s in a normal page https://study-ccna.com/temp-picture/ as shown in GTmetrix:
And here it is being served locally across the rest of the site when it’s the Header Image:
What do I need to do so that the Header Image is served by my CDN please?
Thanks!
Hello Neil,
I guess the issue is the way that header image is used.
For example, when the same image is used on normal pages it’s directly loaded on a page, so there is no issue.
But when the image is used for the header, in this case, the image does not load directly on the page instead images is loaded through CSS
form this css
#masthead {
background-image: url(https://study-ccna.com/wp-content/uploads/Study-CCNA.jpg);
background-repeat: no-repeat;
background-position: center center;
}
Hope you understand this case
Regards,
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |