Some Internal Links Not Recognized And Others are - Question | JoomShaper

Some Internal Links Not Recognized And Others are

LC

Lon Czarnecki

Template 1 year 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.

0
10 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #160947

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)

0
LC
Lon Czarnecki
Accepted Answer
1 year ago #160983

link to video

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #161051

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;
}
0
LC
Lon Czarnecki
Accepted Answer
1 year ago #161169

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. 
0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #161222

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

0
LC
Lon Czarnecki
Accepted Answer
1 year ago #161306

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.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #161399

Please check & let me know. Thanks

0
LC
Lon Czarnecki
Accepted Answer
1 year ago #161417

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

0
LC
Lon Czarnecki
Accepted Answer
1 year ago #161418

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

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #161490

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

templates/your_template/css/custom.css

0