-
AuthorPosts
-
December 3, 2015 at 10:32 am #690426
[email protected]Participanthttp://www.oneventdev.com/onstage/
I have two columns with featured list items. I’d like for the numbers to count 1-8 with four on each side.
What’s the best way to do that?
December 3, 2015 at 3:35 pm #690912
JadeModeratorHi Mel,
You can accomplish this using Custom CSS. Please add this code in Appearance > Customize > Custom > CSS:
.page-id-98 #x-section-2 .x-container:last-child .x-column:last-child .x-feature-box:nth-child(1) .number:before { content: "5"; } .page-id-98 #x-section-2 .x-container:last-child .x-column:last-child .x-feature-box:nth-child(2) .number:before { content: "6"; } .page-id-98 #x-section-2 .x-container:last-child .x-column:last-child .x-feature-box:nth-child(3) .number:before { content: "7"; } .page-id-98 #x-section-2 .x-container:last-child .x-column:last-child .x-feature-box:nth-child(4) .number:before { content: "8"; }Hope this helps.
January 19, 2016 at 5:03 am #752784
BCC-adminParticipantI’d like to implement this exact edit, but the above code is too specific to that user’s page.
How might I edit it to fit mine?http://cpadevbluecrushcommunications.com/campaign-test-2-2 under the section ‘Gas Safety’ for example.
January 19, 2016 at 5:50 am #752850
ThaiModeratorJanuary 19, 2016 at 5:51 am #752854
BCC-adminParticipantMy apologies, I missed out a full stop….
http://cpadev.bluecrushcommunications.com/campaign-test-2-2January 19, 2016 at 5:53 am #752859
BCC-adminParticipantHmmm and the comment was stripped of the correct link….
I’ll try again but just it case there’s a point between cpadev and bluecrushcommunicationsJanuary 19, 2016 at 6:28 am #752912
ChristopherModeratorHi there,
Please try this :
.page-id-558 #gas-guide .x-column:last-child .x-feature-box:nth-child(1) .number:before { content: "5"; } .page-id-558 #gas-guide .x-column:last-child .x-feature-box:nth-child(2) .number:before { content: "6"; } .page-id-558 #gas-guide .x-column:last-child .x-feature-box:nth-child(3) .number:before { content: "7"; } .page-id-558 #gas-guide .x-column:last-child .x-feature-box:nth-child(4) .number:before { content: "8"; }Thanks.
January 19, 2016 at 7:25 am #752997
BCC-adminParticipantSpot on! Thank you. I didn’t realise custom naming the section removed the #x-section ID.
January 19, 2016 at 7:43 am #753035
ThaiModeratorYou’re most welcome 🙂
If you need anything else, please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-690426 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

