How to change this code to fit on my website i tried inserting on personalized liquid but it appears not centered,
How should I modify this code (I did myself) and make completely centered respect other sections?
I let an immage and a video to show the issue I’m having
Document
.bkg1{
background-color: black;
position: absolute;
width: 1100px;
height: 1100px;
padding: auto;
margin-left: 300px;
text-align: center;
}
.impos{
position: absolute;
padding: 100px;
top:240px;
text-align: center;
}
h1{
color: white;
position: absolute;
font-size: 40px;
text-align: center;
}
h2{
}
.textico{
color: white;
position: absolute;
font-size: 40px;
text-align: center;
}
/* body{
position: absolute;
padding: auto;
text-align: center;
}*/
Document
.bkg1{
background-color: black;
position: absolute;
width: 1100px;
height: 1100px;
padding: auto;
left: -100px;
text-align: center;
}
.impos{
position: absolute;
padding: 100px;
top:240px;
text-align: center;
}
h1{
color: white;
position: absolute;
font-size: 40px;
text-align: center;
}
h2{
}
.textico{
color: white;
position: absolute;
font-size: 40px;
text-align: center;
}
/* body{
position: absolute;
padding: auto;
text-align: center;
}*/
5 SEMPLICI MOSSE.
<br
Ecco qui la routine che faccio io
e che vi consiglio. NOIOSA,
MA NECESSARIA. Mattina e sera.
<img src="[https://cdn.shopify.com/s/files/1/0585/2682/6589/files/IRRADIA_Sito_foto-04_e74d62d1-621a-4103-be95-d87d774c64cb.png?v=1691853830](https://cdn.shopify.com/s/files/1/0585/2682/6589/files/IRRADIA_Sito_foto-04_e74d62d1-621a-4103-be95-d87d774c64cb.png?v=1691853830)" title="Imagen gris" alt=" imagen gris" width="900" t
Hello @RayStaff
First thing first, you should not add the and other codes.
You should just add the style and the container code.
Just add the below code in the custom liquid:
# 5 SEMPLICI MOSSE.
Ecco qui la routine che faccio io
e che vi consiglio. NOIOSA,
MA NECESSARIA. Mattina e sera.
Even if this is not solved, please do share the store url.
Thanks
I copied ad paste what u sent but it doesn’t work properly,
I’m working on dawn theme, the theme is not pulled online,
This is the preview of the theme
https://2edq0j8mr888yioa-58526826589.shopifypreview.com/collections/all
The section I’m trying modiffy is in the bottom, As u can see using the new code u gave me , immage is not showing proprfly , and section is not centered.
How can solve this, ? Thank you
Another thing, when I zoom out and zoom in, Section stay always on the left side
why is this happening?
Thank you so much
Can you send me the url so that I can refer it…
Thanks
I sent to you a pivate message
Add the bleh code inside your
.textico {
width: 100%;
}
.textico * {
width: 100%;
}
Hope this works.
Thanks
unfortunately it doesn’t work, after I added the code the banner with reduce and compacted some pages on the header
I tryed to create the same section with a new page instead personalized liquid, and it seems quite better (the header width doesn’t change) but the section still not centered