-
AuthorPosts
-
June 25, 2024 at 7:28 am #1458548
I’m trying to get these category photos and text to show “4 across” on desktop, and then “2 and 2” on Mobile view. Can you tell me how to achieve this?
See screenshots attached.
ThanksJune 25, 2024 at 8:36 am #1458556Hey bemodesign,
Thank you for the inquiry.
We may need to inspect the site in order to provide the appropriate modifications. Please provide the site URL in the private field and the link to the category page.
Best regards,
IsmaelJune 25, 2024 at 6:03 pm #1458733Please let me know asap. thanks. web login attached.
It’s the area right below the “Best Sellers:” that I need this. Seems like there is some code making it stretch our weird. Please help with this so I can get the same look as the examples.
- This reply was modified 4 months, 4 weeks ago by bemodesign.
June 26, 2024 at 7:25 am #1459252Hi,
Thank you for the info.
Did you add the following css code? The images get stretched because of it.
.avia-image-container .avia_image, .avia-image-container .avia-image-overlay-wrap { height: 200px !important; width: 400px !important; margin: 20px 0 0 0 !important; }
To adjust the width of the columns in mobile view for this specific section, try applying a unique ID to the Color Section in the Advanced > Developer Settings > Custom ID field (for example: bc-custom-section). Then, add this css code:
#top #bc-custom-section div .flex_column { width: 50% !important; margin-left: 1%; }
Best regards,
IsmaelJune 26, 2024 at 9:03 am #14593381. When I added that code, it changed the look on the desktop also. It looks good on mobile, but how do I just specify that only?
2. Also, trying to get rounded edges on these specific images only. What code can I add? And need to make sure the “square” link box around it doesn’t show.
Thanks!
- This reply was modified 4 months, 4 weeks ago by bemodesign.
- This reply was modified 4 months, 4 weeks ago by bemodesign.
June 27, 2024 at 11:18 pm #1459900Please let me know on this. thanks
June 28, 2024 at 5:03 am #1459913Hi,
Thank you for the update.
To apply the modification only on mobile view, please replace the css with the following code:
@media only screen and (max-width: 768px) { /* Add your Mobile Styles here */ #top #bc-custom-section div .flex_column { width: 50% !important; margin-left: 1%; border-radius: 30px; } }
The css above will also apply rounded edges to the columns.
Best regards,
IsmaelJune 28, 2024 at 8:45 am #1459923thanks!!!
June 28, 2024 at 8:49 am #1459924I don’t really notice the rounded edges when I change the px. Any ideas on this?
June 29, 2024 at 9:30 pm #1460368Hi,
To add a border radius to the images in #bc-custom-section for bothe desktop and mobile, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top #bc-custom-section div .flex_column a.avia_image { border-radius: 30px; }
Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
After applying the css, please clear your browser cache and check.Best regards,
MikeJune 30, 2024 at 11:36 pm #1460703tired it, it looks the same. see the home page categories. Not much radius on rounded edge
June 30, 2024 at 11:41 pm #1460704Also, on mobile view, how can I get space between the images? There is a space below, but no space side-to-side. (see attached)
July 1, 2024 at 5:07 am #1460715new login to website attached. let me know if you can please help. thanks
July 1, 2024 at 5:13 am #1460716Hi,
Thanks for the screenshot.
The css code above should have worked. Please try this again:
#top #bc-custom-section div .flex_column img { border-radius: 30px; }
Best regards,
IsmaelJuly 1, 2024 at 5:21 am #1460717yes, that worked!!
Last thing, on mobile view, how can I get space between the images? (see attached)
July 1, 2024 at 5:46 am #1460721Hi,
Last thing, on mobile view, how can I get space between the images? (see attached)
Please update the previous css code:
#top #bc-custom-section div .flex_column { width: 46% !important; margin-left: 3% !important; border-radius: 30px; }
Best regards,
IsmaelJuly 1, 2024 at 7:53 pm #1460840Ok great. I made it weird on my desktop view, so I added code for only mobile view. seems to work. is this good?;
@media only screen and (max-width: 768px) {
/* Add your Mobile Styles here */
#top #bc-custom-section div .flex_column {
width: 46% !important;
margin-left: 3% !important;
border-radius: 30px;
}
}July 2, 2024 at 5:00 am #1460870Hi,
Did you add another css media query for mobile view?
@media only screen and (max-width: 768px) { /* Add your Mobile Styles here */ }
Simply include the css rules that you want to be applied on mobile view within an existing css media query. You don’t need to add another one.
Best regards,
IsmaelJuly 2, 2024 at 8:58 pm #1461111Last thing, is there a way to not have a gap on mobile view, because the product is on the next row? Can we move up the products so there is not gap? (see attached)
July 3, 2024 at 7:20 am #1461162Hi,
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.