Answer the question
In order to leave comments, you need to log in
How to correctly insert third-party CSS into Bitrix?
Online store on Bitrix, Aspro. There is synchronization with 1s.
I need to make a banal preview so that the photo pops up when you hover over the link.
We found an example, inserted the following code at the end of styles.css (located in Content-Site Structure-Files and Folders-local-templates-aspro_max-components-bitrix-catalog-mainstyle.css):
.mekina-buleva span{
border-radius: 5px 5px 5px 5px;
visibility: hidden;
position: absolute;
left: 258px;
background: #f1eaea;
box-shadow: -2px 2px 10px -1px #2f2e2e;
border-radius: 5px
width: 18%
z-index: 9999;
}
.mekina-buleva:hover span{
visibility: visible;
}
<a class="mekina-buleva" href="ссылка на страницу">АНКОР ССЫЛКА<span><img class="klass" src="наша ссылка на фото"></span></a>
Answer the question
In order to leave comments, you need to log in
Are you editing with aspro styles or in your own file? If in yours, how do you connect?
Probably include styles in the template, which is cached. You need to use the component_epilog.php file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question