Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 14h 34m 40s
Claim 50% off
Solved Templates

Newsburg Hits Counter

Asked by Alec Barton 2 years ago Last activity 2 years ago

Hi, we would like hits to appear on our article pages but I see the original demo of the Newsburg template does not have them. Is there somewhere we can switch them on or do youahev any code which will make them appear (ideally here - see below)

https://imgur.com/a/573Nyvy

Accepted answer

Marked as the solution
Asfakur Rahman Saikat Staff

You 're welcom. For author: please use this additional custom css

.img-top-wrap .article-info:last-child .createdby::before{ content: 'Author:'; }

.img-top-wrap .article-info:last-child .createdby {
    display: inline !important;
    margin-right: 5px;
}

Best regards.

4 more replies

Asfakur Rahman Saikat Staff

Hi Alec Barton,

Thank you for reaching out. Adding this custom css might work.

.img-top-wrap .article-info:last-child .hits {
    display: block !important;
    margin: 0 auto;
}

.img-top-wrap .article-info:last-child .hits::before{
    content: '';
}

Custom css doc: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta#documentation-heading-3

Please add your site link, if you have further queries.

Best regards.

Alec Barton Asked this

That is great, it shows the hits now but there is a bit gap between the date and hits. Would like them both of them in the centre

https://essential-reading.com/tech/services/financial-services/ptcl-s-ubank-teams-with-mastercard-to-launch-upaisa-debit-card

Thanks for your help so far

Asfakur Rahman Saikat Staff

Kindly replace the previously provided CSS with this new custom code. I hope it will meet your expectations.

.img-top-wrap .article-info:last-child {
    justify-content: center;
}

.img-top-wrap .article-info:last-child .published {
    line-height: 2 !important;
    margin: 0 !important;
}
.img-top-wrap .article-info:last-child .hits {
    display: inline !important;
}

Best regards.

Alec Barton Asked this

Thanks Asfakur, much appreciated.

I also need to get the author in there as well. Could you help me with that please?

Alec Barton Asked this

thank you

Asfakur Rahman Saikat Staff

You're very welcome! Wishing you a wonderful day.

Log in to reply.