Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Marco Junior Posted November 13, 2024 Posted November 13, 2024 Because for put a background for this class :  ipsData__item ipsData__item--discussions  You put for all block when use this specific class understand ? Then you can try it:  li.ipsData__item ipsData__item--discussions { background: url(your url img) no-repeat top center; }  On this code you apply for all element : li with class : (ipsData__item ipsData__item--discussions) Maybe you can limit this using (first-child) and last-child property
FeigelInc Posted November 13, 2024 Author Posted November 13, 2024 Thanks for your help, I guess I can go another route. Marco Junior 1
Marco Junior Posted November 13, 2024 Posted November 13, 2024 @FeigelInc Have you tried using the option to add an image in AdminCP itself? Just one question.
FeigelInc Posted November 13, 2024 Author Posted November 13, 2024 I just thought someone could take the old code and adapt it for this forum software. This is the old code: .cForumRow.ipsDataItem[data-forumid="1013"]{ background-image: url('https://i.imgur.com/GdVi7Jq.png') !important; background-size: cover !important; background-position: bottom center !important; min-height: 262px; }
Marco Junior Posted November 13, 2024 Posted November 13, 2024 (edited) @FeigelInc li.ipsData__item .ipsData__item--discussions[data-forumid="7"] { background-image: url('https://i.imgur.com/GdVi7Jq.png') !important; background-size: cover !important; background-position: bottom center !important; min-height: 262px; } This ! Edited November 13, 2024 by Marco Junior
FeigelInc Posted November 13, 2024 Author Posted November 13, 2024 Thank you so much for helping me out.
Drewfus Posted November 13, 2024 Posted November 13, 2024 all you need is this part not li.ipsdat_item .ipsData__item--discussions[data-forumid="7"] { background-image: url('https://i.imgur.com/GdVi7Jq.png') !important; background-size: cover !important; background-position: bottom center !important; min-height: 262px; } Marco Junior 1
Marco Junior Posted November 13, 2024 Posted November 13, 2024 @Drewfus Will the result be different? I don't understand! Everyone has their own way of writing styles, I have the habit of inserting the element + class after all I learned this way a long time ago 😄 Â
Recommended Posts