K
K
Konstantin Prudnikov2018-12-23 00:06:29
css
Konstantin Prudnikov, 2018-12-23 00:06:29

How to determine where is a piece of code from PrestaShop?

Kind people, tell me if there is a universal way to find out where the problematic code is, for example, in my case, it seems that they spam through the form, but I can’t figure out where this form is located among the heap of files) how to find out where the fragment code is, can it be done through browser inspector?
https://yadi.sk/i/2yu1ON1S8HN2DA

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Serj-One, 2016-02-27
@Proroks

Pseudo elements.

<section>
  <div class="container">
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. 
  </div>
</section>

.container {
  width: 500px;
  height: 200px;
  margin: auto;
  background: green;
  position: relative;
}
.container:before {
  content: '';
  display: block;
  width: 1000px;
  height: 100%;
  background: green;
  position: absolute;
  left: -1000px;
  top: 0;
}

section {
  overflow-x: hidden;
}

codepen.io/Serj-One/pen/KzKWOO

L
lukoie, 2018-12-23
@KonstantinPR

Is it easy for you to find a form? Doesn't it help to search by class name on the local version? This is the universal way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question