T
T
Tonykark95972021-08-09 16:19:18
css
Tonykark9597, 2021-08-09 16:19:18

Why is css execution not displaying properly in divi and in view?

I'm building a module with text switches in Divi. It is necessary to repeat as in the photo, until I do it without searching. I
6111295a85e0d072607028.png

'm trying to make an underline

content:'';
position: absolute; 
background: transparent; 
left: 10; 
bottom: -5px; 
width: 30%; 
height: 0px; 
border-bottom: 1px dashed #656968;

I paste the code in the module settings
Here is how it is displayed in Divi
61112a26a9cdf322360928.png61112a2e29906442351425.png
And here is how it is on the site:
61112ad697511886350733.png
61112ae0ccaaa630683071.png
I also try to make a block selection with a link on hover (as in the layout), but it doesn’t work
, I can’t figure out what I’m doing wrong in
the code in the module:
<div class="theme_link"><a href="#" title="Второй уровень вложенности темы успешных внедрений">Второй уровень вложенности темы успешных внедрений</a></div>
<div class="theme_link"><a href="#" title="Второй уровень вложенности темы успешных внедрений">Второй уровень вложенности темы успешных внедрений</a></div>
<div class="theme_link"><a href="#" title="Второй уровень вложенности темы успешных внедрений">Второй уровень вложенности темы успешных внедрений</a></div>

css code:
.theme_link {
  background-color: #f8f8f8;
  padding: 10px 25px 10px 15px;
}
.theme_link ::hover {
  background-color: #E5E6EA;
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question