mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 20:25:51 +03:00
[GH-ISSUE #415] [QUESTION] How to add a background image? #278
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#278
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @muzihuaner on GitHub (Sep 4, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/415
How to add a background image? I tested it in , but it didn't work
@alefvanoon commented on GitHub (Sep 4, 2021):
You need to edit index.html & add custom CSS.
Checkout https://www.w3docs.com/snippets/css/how-to-add-background-image.html .
@muzihuaner commented on GitHub (Sep 4, 2021):
it not work, show
Refused to load the image 'https://www.w3docs.com/uploads/media/default/0001/01/477719675fecaac0362957c214fb9aa56fca99b5.jpeg' because it violates the following Content Security Policy directive: "img-src 'self' data:".
quickso.eu.org/:1 Refused to load the imag
@DomainWarrior commented on GitHub (Sep 8, 2021):
Hello Please try this code in your css
@muzihuaner commented on GitHub (Sep 8, 2021):
it show Refused to load the image 'static/img/bg.png' because it violates the following Content Security Policy directive: "img-src 'self' data:".
@Albonycal commented on GitHub (Sep 8, 2021):
Was this solved ?
@muzihuaner commented on GitHub (Sep 8, 2021):
yes,it only use .svg, but it can't use .png or .jpg