Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 07h 49m 39s
Claim 50% off
Staff replied Templates

Some internal links not recognized and others are

Asked by Lon Czarnecki 2 years ago Last activity 2 years ago

I have a newly built J4 site (4.4.5), PHP 8.1, Joomshaper Investa template.

In creating articles, I sometimes create it from scratch, sometimes I copy and paste from their old site. When I add or copy and paste content, the text links are not recognized as links. Meaning, you can't click on them. They visually look like links (color coded correctly as <a>) but they can't be clicked on. HOWEVER, when I go to one page, the link work just fine! Checking the code, it is correct (<p><a href="/images/presidents_message/PresCornerTemplate-John01_2024R1.pdf" target="_blank">January 2024 Message</a></p>) but only works on one page. I've tried TinyMCE and JCE, and tried hard-coding the link in. Same result. Even when I copy and paste the link from the working page to the non working pages, the link stops working. Also the side menu has alias links to main menu items that do work in the main menu but show a 404 error on the side menu!

Links do not work:
https://headcake.info/NICCorvette/membe ... /2024.html

Links work:
https://headcake.info/NICCorvette/about ... story.html

When I switch to Cassiopia, all the links work fine so it seems to be a template issue.

6 replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Please share a screencast video about the full scenario? I will check your issue in my end and let you know the solution.

I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

Lon Czarnecki Asked this

link to video

Toufiq Senior Staff

Add this css code inside the custom.css file.

.com-content.view-article #sp-main-body .article-details-intro {
    padding: 100px 0 300px 0;
    background-repeat: no-repeat;
    background-position: bottom;
    position: initial !important;
    background-image: url(../images/page-title-bg.png);
    background-color: #1c272a;
    text-align: center;
    background-size: cover;
}
Lon Czarnecki Asked this

It's better, but not great. The links work now but they don't show up as links. The curser doesn't change. Also there is a lot of code that doesn't have any effect on the issue.

I took out most of the code that had nothing to do with the links and just used this:

.com-content.view-article #sp-main-body .article-details-intro {
position: initial !important;
}

    It makes the links work, but again, they don't show up as links. 
Toufiq Senior Staff

Do you want to change mouse hover color change of your links? Or clarify more details that you want exactly. Thanks

Lon Czarnecki Asked this

I was just thinking about how common websites work. Yes the link color changes, and the curser changes to a finger pointing. I know a lot of this can be changed in the CSS, but again, the site reacts normally in some places and not in others. Video link attached.

Toufiq Senior Staff

Please check & let me know. Thanks

Lon Czarnecki Asked this

Good enough. I guess I can adjust it more to make it do more.
Thank you.

Lon Czarnecki Asked this

Just in case it happens again some where else, what did you do in the back end to fix it?

Toufiq Senior Staff

I just added css code inside the custom.css file.

templates/your_template/css/custom.css

Log in to reply.