Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1076189
    worldofjames
    Participant

    Hi there guys

    Hope all is well…

    When I have the archive sliders enabled on my category pages, the ‘read more’ button is linking through to the X Theme homepage rather than the post entry… Any ideas on how this can be fixed?

    http://liveeveryminute.co.uk/category/yorkshire/running/

    Many thanks

    James Ellis

    #1076279
    Paul R
    Moderator

    Hi,

    Thanks for writing in!

    Do you have any code modification in your child theme?

    Can you share the codes to us so we can check.

    Thanks

    #1076588
    worldofjames
    Participant

    Hm… I suspect it is in this bit of Java, which I was offered to change the writing from ‘See post’ to ‘Read more’

    jQuery(document).ready(function($){
    var link = “http://theme.co/x/”;
    $(‘.featured-view’).html(“Read more”).wrap(‘‘);
    });

    jQuery(function($) {
    $(‘.category a.entry-thumb .view’).text(“Read More”);
    });

    #1076589
    worldofjames
    Participant

    Here are my CSS customisations too

    .x-logobar .x-container.max.width {
    max-width: 100%;
    width: 100%;
    }
    .x-brand.img > img {
    width: 100%;
    }

    .entry-meta .comment-count {
    display: none;
    }

    .x-topbar .p-info {
    color: white;
    font-size: 14
    px;
    }

    .x-topbar { background-color: #000000; }

    .x-topbar .p-info, .x-topbar .x-social-global a {color: white;}

    .x-colophon.bottom .x-colophon-content, .x-colophon.bottom .x-colophon-content a, .x-social-global a {
    color: white;}
    .x-colophon.bottom .x-nav li a {
    color: #fff;
    }

    .h-landmark {display: none;}

    .x-logobar {
    text-align: left;
    }

    .x-nav-wrap.desktop {
    float: right;
    }
    .x-social-global i {
    font-size: 35px;
    }

    .x-sidebar{
    padding-left: 15px;
    border-left: 1px solid #eaeaea;
    }

    .x-main .h-widget, .x-sidebar .h-widget {

    border: none !important; }

    .x-colophon.bottom {
    background-color: black;
    }

    ul.x-ul-icons {
    color: #ffffff;
    }

    .x-topbar .x-social-global:before { content: “”; color: #fff; display: inline-block; font-size: 18px; }

    .single .entry-thumb img {
    width: 100%;
    }

    .x-colophon.top a, .x-colophon.top p {
    color: #D3D3D3 !important
    }

    .x-nav-articles {
    display: none;
    }

    .cover span.featured-meta {
    display: none;
    }

    .p-design {
    font-size: 17px;
    text-align: left;
    line-height: 22px;
    color: white;
    }

    .p-small {
    font-size: 12px;
    text-align: left;
    line-height: 15px;
    color: black;
    }

    #1077284
    Friech
    Moderator

    Hi There,

    Hope you’re fine today, on your JavaScript code find this string http://theme.co/x/ that is our X sales page address. Please replace that with your own URL.

    Thanks.

    #1080802
    worldofjames
    Participant

    Thanks for the reply, but that is now just returning the post to my homepage, when I want it to go to the post itself…

    #1080888
    Paul R
    Moderator

    Hi,

    Please remove the javascript code that reads.

    
    jQuery(document).ready(function($){
    var link = “http://theme.co/x/”;
    $(‘.featured-view’).html(“Read more”).wrap(‘‘);
    });
    

    The default link will go to the post itself.

    Thanks

    #1082700
    worldofjames
    Participant

    Perfect – thanks for the help Paul… Amazing work from you guys as usual

    #1082989
    Friech
    Moderator

    You’re more than welcome. Should you require any further assistance with X|THEME and Cornerstone, please feel free to get in touch with us.

    Cheers!

    #1083449
    worldofjames
    Participant

    Hi guys … sorry, but I’ve just noted that this says ‘View post’ again, rather than ‘Read more’

    Is there a way of changing it and making sure that when you click it takes you onto the relevant post?

    Many thanks

    #1083732
    Jade
    Moderator

    HI there,

    Please try to add this code in the JS customizer:

    jQuery('.featured-view').text('Read More');

    Hope this helps.

    #1084377
    worldofjames
    Participant

    Excellent – thanks Jade

    #1084623
    Thai
    Moderator

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1076189 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>