Tagged: enfold
-
AuthorPosts
-
November 14, 2022 at 6:38 pm #1372557
Hello,
here I am again … to bother you. :-D
I have two problems with mobile view:- on this page https://www.fishesinvasion.com/prints/ I would like to have posts on 2 columns on mobile instead of 3 on desktop
- on this page https://www.fishesinvasion.com/articles/ I would like to have the posts in the same way as the following example https://drive.google.com/drive/folders/1MWFJoXIjHbPJwPlg1HyI0UZKpxna5w7S?usp=share_link
Finally to change the total in the cart I used the following incorrect way to get the result, it works fine, but I know there is a better way to do it.
/* total back and bold */
#after_section_1 > div > div > div > div > section > div > div > div.cart-collaterals > div > table > tbody > tr.order-total > td > strong > span {
color: black;
font-size: 14px;
font-weight: bold;
}As usual thanks in advance for you help
AndrewNovember 15, 2022 at 6:50 am #1372604Hey cuccarini,
Thank you for the inquiry.
1.) This is possible but you have to display 4 items for each row on desktop view, then use this css code to adjust the width of the items on smaller screens.
@media only screen and (max-width: 767px) { .responsive #top #wrap_all #main .avia-content-slider .slide-entry-wrap { display: flex; flex-direction: row; justify-content: space-around; flex-wrap: wrap; } }
Again, you have to display the items in 4 columns instead of 3 in order for this modification to work correctly.
2.) This is possible but it will require modification that is beyond the scope of support. You may need to edit the single.php or the includes > loop-index.php template in order to achieve the same layout shown in your screenshot. For starters, you can use this css code to split the featured image and the content into separate columns.
@media only screen and (max-width: 767px) { .responsive #top #wrap_all #main .avia-content-slider .slide-entry { width: 100% !important; display: flex; flex-direction: row; flex-wrap: nowrap; } .responsive #top #wrap_all #main .avia-content-slider .slide-entry .slide-content { flex-grow: 1; width: 60%; flex-shrink: 0; margin-left: 4%; } h3.slide-entry-title.entry-title { text-align: left; font-size: 20px !important; } }
Best regards,
IsmaelNovember 15, 2022 at 2:01 pm #1372640Hello,
Thanks so much, you can close the ticket.
Best regrds
AndreaNovember 15, 2022 at 2:59 pm #1372650Sorry,
one more problem … is it possible to slow down the animated number in stickers pasted on page https://www.fishesinvasion.com/?
The number I used is big and the counter is fast as a rocket!Thanks again
November 17, 2022 at 10:15 pm #1373018Hi,
Please try this solutionBest regards,
MikeJanuary 10, 2023 at 12:50 pm #1378120Sorry,
I forget to tell you to close the ticket, my fault.
ThanksJanuary 10, 2023 at 1:31 pm #1378124Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Others mobile optimization’ is closed to new replies.