Forum Replies Created
-
Author
-
October 16, 2017 at 22:55 in reply to: When sharing a post, the thumbnail is not being shown #176904kffanerParticipant
on second thought, leave it as is, i wil use Yoast SEO to customize it.
October 15, 2017 at 23:55 in reply to: When sharing a post, the thumbnail is not being shown #176764kffanerParticipantThis reply has been set as private.October 13, 2017 at 23:23 in reply to: When sharing a post, the thumbnail is not being shown #176571kffanerParticipanti am trying to avoid heavy plugins, or adding any more than necessary, yoast can add quite some lag to my website, any alternatives that may also work? Seems like its a basic function that should have came with the theme (pulling a featured image as thumbnail while sharing) i recommend having that added on the next update.
kffanerParticipantok i did some investigating and the following code works, although it still removes the \ after each saving which is if i want to add some more css to the file, i need to make sure to re-attach the \ to this code before saving for it to work. Do you have any idea why the system keeps removing it?
.icon-facebook {
position:absolute;
}
.icon-facebook:before {
content: “\f082”;
font-size: 20px;
font-family: FontAwesome;
color: #4266b2;
position:relative;
}kffanerParticipantif you can direct me to where that icon is hardcoded maybe it would be easier just to change the icon in the code itself rather than play with css, as it seems the css for whatever reason keeps changing every time i update it by removing the “\” and causing the code to be invalid.
kffanerParticipantlmao we are just moving in circles, now its doing the same thing as before where when i save the changes it removes the “\” before the code, making it error out and simply display the content of “f082” XD any clue whats going on here? why would the system change the code lmao?
kffanerParticipantok i figured one of the plugins was overwriting this code, for whatever reason, so i am using this plugin to do the css changes, and it seems that it is reading the code properly now, however, instead of the icon that it is supposed to show now it shows this weird empty square. Im assuming it is not picking up the icon, you can see it on my website live. Any suggestions?
kffanerParticipantI added the following code:
.icon-facebook:before {
content: “\f082”;
font-size: 20px;
color: #4266b2;
}and after i hit savd and publish, it changes the code to this:
.icon-facebook:before {
content: f082;
font-size: 20px;
color: #4266b2;
}kffanerParticipantI dont know why but this is only happening on this theme:
Every time i hit “save and publish” the code changes… it keeps reverting it back or removing the quotation marks and causing the code not to work, i mean wth? lol can you help me figure out wth is happening here? thanks.
kffanerParticipantweird, i followed the steps and it worked in customizer view but when i saved it shows the code “f230” instead of the icon. You can see it live on my website the issue. Bibleandprayers.com
kffanerParticipanti dont think i made it clear what i want changed, I want to change the “hover_element” which is currently a “+” sign in the middle of the picture once you hover over the kleo post carousel picture. I want to change that to another picture, like a play button. Does that clarify it or should i get a screenshot of what i mean?
kffanerParticipanti dont know if its a file or an icon drawn up from a public domain via code. What part of my website should i attach the files of? the whole content folder or just theme folder?
kffanerParticipanthuh? I dont want to adjust the size of it, i want to CHANGE it to a different icon…
kffanerParticipanti strongly suggest adding that feature to the theme. Its something that there arent a lot of out there (for whatever reason) and its something that pretty much everyone using this theme would be able to incorporate and would do so right away. It makes little sense to have a function for “likes” but no function to sort posts by those likes.
kffanerParticipanti want to use widgets to display posts by likes and another to display by publish date. so if i use this code and it overrides any options i set on a particular page, then it will sort all of them by likes?
kffanerParticipanti dont understand, if it does not give the option, then how do i know what to choose or when it will do this? it will override any option i choose on the widget, if i define the page slug on the code?
kffanerParticipantnope, did not work, the option on the drop down menu is not there. I pasted the code into child themes function.php file and i switched back and forward from child theme to main theme and back to child theme. Still no option.
Attachments:
You must be logged in to view attached files.kffanerParticipantJust an fyi – it is NOT doing that by default, i double checked to make sure its in one category and not in both. I would suggest adding this code as default in the next theme update.
But with this code you provided it works like a charm now!
kffanerParticipanti changed (on theme settings) words “Likes” to “prayers” but i don’t think that should have any impact on this, those are just labels…
kffanerParticipanttried, when i do that each time when switching to child theme (where the changes were made) it gives me 404 for the pages that are supposed to be there.
kffanerParticipantit causes a bunch of pages to disappear including the default buddypress pages. no idea why, can we troubleshoot this?
kffanerParticipantweird, if i add this code it causes the front page to disappear and be removed Oo any ideas?
kffanerParticipanthi,
thanks, please let me know if you can make it work, if not ill have to try to figure it out but im betting you know more on php than i do.
kffanerParticipantsounds good, thanks, i am a little familiar with JQ and PHP editing, if that helps in helping me with this issue hehe
-
AuthorPosts