O
O
Oleg2019-03-11 09:37:13
JavaScript
Oleg, 2019-03-11 09:37:13

How to place a block on the site according to the code above, and visually on the site below using JS?

Hello everyone,
I came across an interesting solution from the rosette store, the bottom line is that they placed the text block that is responsible for SEO optimization according to the code above, and visually it is located near the footer, they did this through position abosolute (example of the site page ).
also screenshots of the example
5c8601cc40350777410030.png5c8601dbb780b522774703.png5c8601e61c1d4875938823.png
Can you suggest how to organize a similar solution through JS, because in my case it will not be possible to implement it through position absolute, because more blocks will go from below.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene Chefranov, 2019-03-11
@olegolehovich

Make it through flex and order
https://webref.ru/css/flex
https://webref.ru/css/order

A
Anton, 2019-03-11
@Eridani

Yes, just create an empty div in the right place and use jquery to take all the contents of the block in which you have the seo text and move it to the prepared
https://jsfiddle.net/gow1rzve/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question