Home Forums Pro Themes Education Hub Pro Featured Content

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #189536
    Paul Schroeder
    Participant

    Featured content created with images and excerpt set to display none. One featured content we’d like to click over to our sister website instead of linking to an internal page. Is that possible?

    #189542
    Psink
    Keymaster

    Yes it is possible with the JavaScript. Could you please share your site URL and the reference screenshot with the mark in which post you want to link external URL

    #189543
    Paul Schroeder
    Participant

    Thank you for your quick response. Here is our test URL where we’re building the site: test.copafs.org. You’ll see the 3 featured content headings and images: Quarterly Meetings, FCSM Conference and Join COPAFS right under the main image. It’s the FCSM Conference feature in the middle that we would like to link to FCSM2023.org instead of an internal web page.

    #189568
    Psink
    Keymaster

    Please Simple JS and CSS plugin, and then follow the screen record

    https://www.awesomescreenshot.com/video/17186080?key=cd56003782581bcb063ce0830c926c6d

    You can change the youtube to your required URL

    #189588
    Paul Schroeder
    Participant

    Thank you. I downloaded/activated Simple Custom CSS and JS as you suggested and added the code I saw in your video… changing the URL of course. It’s not working for me.

    Here’s the code I entered so I can double-check that it’s right:

    jQuery(document).ready(function( $ ) {
    $(‘#featured-content .container .inner-wrapper article:nth-child(2) a’).attr( ‘href’, ‘https://fcsm2023.org’
    );
    });

    Please advise.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.