Tagged: x
-
AuthorPosts
-
July 7, 2016 at 4:39 am #1076189
worldofjamesParticipantHi 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
July 7, 2016 at 6:15 am #1076279
Paul RModeratorHi,
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
July 7, 2016 at 10:31 am #1076588
worldofjamesParticipantHm… 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”);
});July 7, 2016 at 10:32 am #1076589
worldofjamesParticipantHere 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;
}July 7, 2016 at 8:37 pm #1077284
FriechModeratorHi 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.
July 10, 2016 at 11:45 pm #1080802
worldofjamesParticipantThanks for the reply, but that is now just returning the post to my homepage, when I want it to go to the post itself…
July 11, 2016 at 1:29 am #1080888
Paul RModeratorHi,
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
July 12, 2016 at 1:52 am #1082700
worldofjamesParticipantPerfect – thanks for the help Paul… Amazing work from you guys as usual
July 12, 2016 at 7:15 am #1082989
FriechModeratorYou’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!
July 12, 2016 at 12:15 pm #1083449
worldofjamesParticipantHi 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
July 12, 2016 at 3:31 pm #1083732
JadeModeratorHI there,
Please try to add this code in the JS customizer:
jQuery('.featured-view').text('Read More');Hope this helps.
July 13, 2016 at 1:54 am #1084377
worldofjamesParticipantExcellent – thanks Jade
July 13, 2016 at 5:57 am #1084623
ThaiModeratorIf you need anything else please let us know.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1076189 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
