Ok now, here’s the story:
I deleted my whole blog because still having issues. So I reinstalled everything new (had the demo running, now own build) I also thought, that Cloudflare would be the problem- but it isn’t (right now I don’t use CF)
Christopher Simmons helped me a lot- so I was able to solve a lot of things on my own.
But there are still some things I can’t handle on my own (seems like it) – and I’m on the edge of despair.
FYI my installed plugins:
tagbooster, W3 Total Cache, wpSeo, Code Embed, TinyMCE, Animated Gif Resize, Antispam Bee, Async JS and CSS, Broken Link Checker, Contact Form 7, EWW Image Optimizer, Jetpack, Query Strings Remover, WP DB-Manager, Google XML Sitemaps and the Visual Composer.
No matter what I do (installing Query Strings Remover or adding a code to the functions.php) I STILL HAVE PROBLEMS WITH THE “REMOVE QUERY STRINGS”
I really need someone to help me fix this or show me how to! I’m so helplessly I could cry over this!
I would like to start with adding content, but this makes me really desperate
The claimed files are:
Remove query strings from static resources
C (70)
88%
Content High
What does this mean?
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:http://cherrykoks.de/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/includes/wp_booster/external/bootstrap/td-bootstrap.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/style.css?ver=4.1
Next one is:
Specify a cache validator
A (90)
93%
Server High
What does this mean?
The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700?ver=4.1
http://gtmetrix.com/reports/cherrykoks.de/4u0OTZRR
Note: I use as fonts: Georgia and Times New Roman over the whole blog! I was reading a lot of threads with tips as “Comment them out” “delete it” and this is also not working. When I try to comment out in functions.php I get a syntax error. And to delete: I don’t know which lines, because my functions.php looks a little bit different.
The font problem also appears in :
Add Expires headers
B (89)
25%
Server High
What does this mean?
There is 1 static component without a far-future expiration date.
http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700?ver=4.1
Page Speed Insights for example is complaining about the “above the fold” thing on mobile Devices and desktop, these are the same files- which GTMetrix claims with “remove query strings”
see here: https://developers.google.com/speed/pagespeed/insights/?url=cherrykoks.de&tab=mobile
Everything else is ok for me- but how can I solve the “few” problems.
I hope there’s an angel in this forum who can save me from getting nuts.
If someone of you needs any file information, let me know. I’m glad for any help with this!
Julia
Thanks, fixed it by entering a piece of css in ‘custom css’. Hope they add it soon to the theme panel.
Lucian thanks. It worked like a charm.
What is the css code to remove the bullets, in case i decide to move tabs to sidebar?
Until an option is added to the theme panel, you can style it yourself via custom CSS. Either do this through a child theme (https://forum.tagdiv.com/child-theme-documentation/) or through the custom css part of the panel.
Using “inspect element” on a widget reveals the classes involved. For the titles it looks like it’s .block-title. The class of a widget’s text often varies from widget to widget, and I’m guessing from stack to stack. In blog-stack, for example, a text widget’s content is class .blog-stack .textwidget.
Well the commenting out like here:
http://screencast.com/t/AJFofBi3Ym
did not work for me, when I did this – I got a syntax error.
my googlefonts section in the functions.php looks like this:
//google fonts
if ((defined('TD_DEPLOY_MODE') and (TD_DEPLOY_MODE == 'demo' /*or TD_DEPLOY_MODE == 'dev' */)) or defined('TD_SPEED_BOOSTER')) { //on demo and dev we load only the latin fonts
//modify this collection if you want to optimize the fonts loaded
//collection url -> : http://www.google.com/fonts#ReviewPlace:refine/Collection:PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700
wp_enqueue_style('google-font-rest', td_global::$http_or_https . '://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700'); //used on menus/small text
}
else {
$td_user_fonts_list = array();
$td_user_fonts_db = td_util::get_option('td_fonts');
if(!empty($td_user_fonts_db)) {
foreach($td_user_fonts_db as $td_font_setting_key => $td_font_setting_val) {
if(!empty($td_font_setting_val) and !empty($td_font_setting_val['font_family'])) {
$td_user_fonts_list[] = $td_font_setting_val['font_family'];
}
}
}
if(!in_array('g_438', $td_user_fonts_list)) {//'g_438', //Open Sans
wp_enqueue_style('google-font-opensans', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic'); //used on menus/small text
}
if(!in_array('g_617', $td_user_fonts_list)) {//'g_617', //Ubuntu
wp_enqueue_style('google-font-ubuntu', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic'); //used on content
}
if(!in_array('g_453', $td_user_fonts_list)) {//'g_453', //PT Sans
wp_enqueue_style('google-font-pt-sans', td_global::$http_or_https . '://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic&subset=latin,cyrillic-ext,latin-ext,cyrillic'); //used on content
}
if(!in_array('g_445', $td_user_fonts_list)) {//'g_445', //Oswald
wp_enqueue_style('google-font-oswald', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Oswald:400,300,700&subset=latin,latin-ext'); //used on content
}
if(!in_array('g_521', $td_user_fonts_list)) {//'g_521', //Roboto
wp_enqueue_style('google-roboto-cond', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic'); //used on content
}
if(!in_array('g_639', $td_user_fonts_list)) {//'g_639', //Vollkorn
wp_enqueue_style('google-vollkorn', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Vollkorn:400italic,700italic,400,700'); //used on quoates classic
}
}
//add the google style link for fonts used by user
$td_fonts_css_files = td_util::get_option('td_fonts_css_files');
if(!empty($td_fonts_css_files)) {
wp_enqueue_style('google-fonts-style', td_global::$http_or_https . $td_fonts_css_files);
}
I placed the Comment out before : //google fonts and after 00,700|Roboto+Condensed:400italic,700italic,400,700′); //used on menus/small text
}
thank Lord I made a backup 😀
You might want to look in the download from Themeforest, as it’s usually found in the download for each theme update. 🙂
Note the file “changed_files_4.1_4.2.html”
and the update_log.txt
[ V 4.2 ]
– added ajax post views count – the view counter now works with all the caching plugins (the system can be enabled via the panel)
– added header style 8
– remove caption from content
– added excerpt for big slides in panel
– various code fixes
Newspaper theme
Here is a list of all the changes between v 4.1 and v 4.2
Modified files – 24 files
•footer.php
•functions.php
•header.php
•includes\modules\module_modifier\td_module_blog.php
•includes\wp_booster\td_ajax.php
•includes\wp_booster\td_config.php
•includes\wp_booster\td_css_generator.php
•includes\wp_booster\td_fonts.php
•includes\wp_booster\td_global.php
•includes\wp_booster\td_module.php
•includes\wp_booster\td_page_views.php
•includes\wp_booster\td_unique_posts.php
•js\full_compact\site.js
•js\min\site.min.js
•js\td_affix.js
•js\td_loading_box.js
•less_files\header.less
•less_files\stacks.less
•style.css
•wp-admin\css\panel\box.less
•wp-admin\css\wp-admin.css
•wp-admin\panel\views\panel_header.php
•wp-admin\panel\views\panel_post_settings.php
•wp-admin\panel\views\panel_theme_fonts.php
Deleted files – 0 files
•none
New files – 2 files
•js\td_ajax_count.js
•parts\header-style-8-one-line.php
I’ve tried changing it like this (the first option you’ve shown), but it didn’t work.
I don’t want to do it through the CSS; For it I’ll have to add a new code for each one of my buttons.
I want to add this color code (#52D017), its name is “yellow green”, can’t I do it?
-
This reply was modified 12 years by
SheikhOvais.
Meanwhile, this custom CSS(or that for a similar menu, not sure if it varies by stack) would allow you to vertically adjust the height of the text in the menu:
.sf-menu {
padding-top: 5px;
}
Change the 5px, of course, to whatever works. Note that line-height (from custom typography menu in theme panel) would also work but would not change the search button height.
For spacing you can add padding to the list items:
.sf-menu li {
padding-right: 15px;
}
Ok found the post with commenting 5 lines out of the functions.php (google fonts)
Do I have to add these lines into css?
What if, If I only wanne use Georgia and Times? (or something like Arial)
-
This reply was modified 12 years by
Cherry.
This is not a normal function of online publishing sites, but there may be a plugin for this rare case usage. However that is typically done with an overlay, not rewriting content into the graphic. And when Google grabs the image for image search they would not also grab the css/dhtml overlay with an advertisement. You also cannot “inject” advertising into videos source from YouTube or Vimeo, as that would violate all kinds of usage terms. For your own videos, why not simply put an ad in the video when you create them?
I doubt any theme, including this one, will be adding a function to “inject” advertising into media files, particularly since the theme would not be able to determine whether or not you “own” the content the ads would be injected into, and again – this would not be possible with image and video files except via an overlay on a CSS/dhtml “layer.”
You could use custom CSS, in the theme panel, for the stroke. A quick “inspect element” check suggests that the logo area is td-menu-background. A stroke would be a border. In the blog-stack style I find this class actually has “border-top 1px solid #ebebeb” already. Just change or add that class to have a border-top of whatever colour, style, and thickness you want.
I suppose HERE is good since we are paying customers and this forum IS supposed to offer a place for support…
+ maybe others can find it helpful in the future as well, who knows…
My main menu with WPML language switcher: http://screencast.com/t/JY2sLaaQZHtH
Well, putting the language switcher on the main-menu:
- You set the main-menu on the theme panel > header > Main Menu > Header Main Menu <br>
- You can verify this on Appearance > Menus > Manage Locations (but I think it syncs automatically)
- WPML > Languages > Language switcher in the WP Menu <br>
- Check “Display the language switcher in the WP Menu” & choose the same menu you set for the main-menu
- Do all that for the default language that you set for WPML originally & use “WPML > WP Menus Sync” to keep the menu’s sync across languages (where needed).
As for the CSS modifications, add the following to your custom CSS on the theme panel:
/* Menu Language Switcher */
.sf-menu .menu-item-language > a {
display: inline-block;
}
.sf-menu .menu-item-language > a {
text-decoration: none !important;
}
.sf-menu .menu-item-language > a {
display: block;
position: relative;
}
.sf-menu .menu-item-language > ul.sub-menu > li {
direction: ltr;
text-align: left;
}
.sf-menu .menu-item-language > ul.sub-menu > li a {
padding-right: 29px;
min-width: 1px;
padding: 0px 11px 0px 11px;
height: 48px;
line-height: 51px;
font-size: 16px;
color: #202020;
z-index: 9999;
}
.menu-item-language img.iclflag {
margin: 0 4px;
}
/* Menu Upgrade */
There’s a bit more if you are using RTL language…
-
This reply was modified 12 years by
virtualida. Reason: adding some image links to show what it should look like
@Lucian I must admit you gave the BEST and WORST response possible.
The best: simply because you admitted that
“Unfortunately we can not offer support for WPML”
which basically tells me to stop asking questions with regard to WPML.
The worst: because I purchased your theme, purchased WPML, invested HOURS to configure everything to be only let down that you will
remove the WMPL compatibility statement from theme’s presentation page
as well as
If you are unhappy with our theme we can offer you a refund.
I know where I stand now, I have no real choice but to continue developing on what I have, I have invested too much time to switch themes now, and WPML is at least supported by their developers whereas qTranslate has no guarantees since it’s free.
@virtualida I would definitely appreciate any help you can give me, we can keep it here in an open forum or switch to PM, whichever you prefer.
What I need to know is how to add the language bar to the MAIN MENU and have it take the proper CSS styling. Have you done that?
Hi,
I have tested this css and works fine for me http://screencast.com/t/4fWN1KDwBc
Use it like this in your custom css are in theme panel, I have made some changes, also don’t know if you figured out or not you have sent me the css for the button without the period in front of the class, that may be the cause of your code did not work for you.
.td_search_subtitle, .td-widget-search-input {
font-family: ‘Helvetica Neue’!important;
}
.wpb_button {
background-color: #f5f5f5!important;
color: #4b4b4b !important;
}
Hope this helps!
Thanks!
Hi,
You can do it like this: http://screencast.com/t/9UjNVCcRhek
Or via css using this css:
.td-post-text-content .wpb_button {
background-color: red !important;
}
Thanks
Hi,
Since I have upgraded to Speed Booster 2.5 I get this strange Flash of CSS code on my website for a few seconds. See: http://goo.gl/v3nDL1
When I disable the plugin, the codeflash is also gone.
How do I fix this?
Thanks you
Hi,
You can do it using css and overwrite the page/container’s element width and height and make it fixed.
For what you are trying to do i suggest to try to find a solution on the web. I have found and tried something like this:
#go-pricing-table-race_pricing_table {
height: 100%;
overflow-y: scroll;
width: 100%;
overflow-x: scroll;
}
… but unfortunately this dose not work, because the table columns still slide one under the other. If you could find a way to stop this this css might work just like you want it..
Hope this helps!
Thanks
Hi,
The ie8 class is added to the <html>tag of your site when IE8 browser it’s used so you can use that class to style your site when viewed using IE8 browser you can add in your Theme panel > Custom CSS an css that sets a smaller font-size for the menu-item.
Try this css then check your site using the IE8 to check if your menu it’s still in 2 lines.
.ie8 .sf-menu > li > a {
font-size: 15px;
}
Hope this works!
Thanks
Hi,
Please add this custom css in Theme Panel > Custom CSS:
.td-footer-wrap .widget_text ul {
list-style: none;
}
The text widget list have that style applied and it’s affecting the tabs too.
The css i gave you should solve this.
Thanks
Hi,
Please use this CSS in Theme panel -> Custom CSS, should solve this:
.rev_slider_wrapper {
z-index: 0;
}
Thanks
Thank you, I paste your css code in custom css and it works!
Hi,
I have checked your site and found this javascript error in the console http://screencast.com/t/U6PjaQPSk6Dl I believe this could be the cause of your issue and it might be due to a plugin conflict, please disable all plugins and activate them one by one and see which one is generating this issue.
Also noticed that you have set a negative margin on rows http://screencast.com/t/fnMntJXTC and these is coming from Visual Composer plugin so I’m thinking that you have set somehow the rows to be offset with 15px because when you set the rows to 0px of margin all comes back to normal.
Please check this also and let me know.
You can see yourself, just add this css in theme panel > custom css:
.wpb_row {
margin-left: 0px !important;
margin-right: 0px !important;
}
Hope this helps!
Thanks
When you set your permalink structure in the WP settings panel; it will write the proper code to your htaccess file for you, if the file is writable.
You have something funky with your pages, unless you’ve just been editing the demo content vs making new posts … e.g.,
this page
http://cherrykoks.de/allgemein/td_d_slug_44/
should be something like
http://cherrykoks.de/allgemein/name-of-my-story-goes-here/
So that is something wonky you should sort out soonest.
For the Google fonts; once you add the code for the fonts you want to your style.css file, you would delete or comment out the section on google fonts from the functions.php file. Search the forum for more on how to do that.
-
This reply was modified 12 years by
simchris.
Hey.
Well – on which pages / files do I have to remove the google Fonts?
Actually I added your code into the functions.php like this:
`function remove_cssjs_ver( $src ) {
if( strpos( $src, ‘?ver=’ ) )
$src = remove_query_arg( ‘ver’, $src );
return $src;
}
add_filter( ‘style_loader_src’, ‘remove_cssjs_ver’, 10, 2 );
add_filter( ‘script_loader_src’, ‘remove_cssjs_ver’, 10, 2 );`
What code should I insert into the .htaccess?
My Permalinks are user definied :
/%category%/%postname%/