This topic has 4 replies, 2 voices, and was last updated 5 years, 4 months ago ago by Olga Barlow
Dear Support,
I have created a single sprite image including the Legenda icons as below:
/themes/legenda/images/black_cross.png
/themes/legenda/images/icon-zoom.png
/themes/legenda/images/small-close.png
/legenda/images/small-plus.png
/themes/legenda/images/tick-icon-check.png
/themes/legenda/images/white_cross_big.png
I am now planning to recall the images through CSS classes. I have generated the code however, I would like to know the right file location where to insert the code:
Could you please support me?
Best regards.
F
Hello,
If you want additionally customize anything in theme use the child theme folder.
Child theme archive you can find here https://www.8theme.com/downloads
Install and activate it. Use child theme style.css to add CSS custom styles.
Regards
Dear Olga,
I am already using the child theme. My question was different. In which file of the theme these images are recall?
I have checked the style.css file and the mentioned images are not there therefore I cannot recall them through the style.css of the child theme. Where shall I put the code for pointing at the sprite image and get the images requested by the theme?
Thank you for your help.
F.
Hello,
Probably you did not check the style.css file of the parent theme attentively because these images are called from style.css, for example http://prntscr.com/oljfka
So, if you want to overwrite the existing bg add the custom code to child theme style.css, for example
.side-area .close-block {
background-image: url(link_to_new_image_in_child_theme);
background-position: 20px 50px;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up