@pbuva
For that, if you can code on your own then, you can achieve that via the child theme. And if you edit the theme file then, it will get wiped out on theme update. So, prefer using the child theme for the customization work. And maybe you can follow this link: https://docs.themegrill.com/knowledgebase/creating-your-own-custom-css-via-inspect-element/ for applying custom CSS code for it as needed for your site?
Thanks.
Thread Starter
pbuva
(@pbuva)
Thank you, do you know whitch file is that? 🙂
@pbuva
You just need to find the correct class or id for designing it within your site and after the look is fine, you can copy that code to Appearance->Customize->Additional CSS section. And for the file, you might not need to find those at all since it might not need for the PHP code to be amended. Hope you have got it.
Thanks.
Thread Starter
pbuva
(@pbuva)
Yesm you have right, but….
.archive #content .post:nth-child(2n+1) {
float: right;
width: 48.7013%;
}
.archive #content .post:nth-child(2n) {
float: left;
width: 48.7013%;
clear: both;
}
.archive #content .post:first-child {
float: none;
width: 100%;
}
In this, i can only change float, because, there are 3 types of content, i need to change in code this to 2 types, because, with tjis:
.archive #content .post:first-child {
float: left;
width: 100%;
}
i got first line with one post and free space
-
This reply was modified 7 years ago by
pbuva.
-
This reply was modified 7 years ago by
pbuva.
Thread Starter
pbuva
(@pbuva)
Any help? I cant solve this only with css 🙁
@pbuva
Can you add the below CSS code to Additional CSS box and check?
.archive #content .post:nth-child(2n) {
float: right;
clear: none;
}
.archive #content .post:nth-child(2n+1) {
float: left;
clear: both;
}
.archive #content .post:first-child {
float: left;
width: 48.7013%;
}
@media (max-width: 600px) {
.archive #content .post:first-child {
width: 100%;
}
}
Thanks.
@pbuva
Do let us know if you have any further query regarding to our theme. If you like the theme and want to help us then you can leave a review.
Thanks.