Hi,
I’m poised to start the theme update from 4 to 6, I have already updated Visual Composer to the latest version. With regards to the social counter and Speed Booster, I assume I wait until the 6 theme is uploaded and the update script is run.
My concern is that when I update the Speed Booster plugin it will overwrite the edits I made, is this correct?
It was a while ago, and I have a terrible memory, so I’m unsure what I would need to do to retain my edits?
I’ve also got a child theme, after the update, I assume I paste my child theme edits into the new child theme files located in the /code folder and overwrite the old one on the server?
I have the following code in my current child theme:
—————-
if (!defined(‘TD_THEME_WP_BOOSTER’)) {
include TEMPLATEPATH . ‘/includes/td_wordpres_booster.php’;
}
—————-
Would this need to be added to the new child?
Kind Regards
Simon
Hi
We tested the theme on IE and should work fine, so it’s possible to have a plugin that overwrite the theme css in that browser. Try to deactivate all plugins except Visual Composer, clear the cache ant test again. If the problem persist try this custom css in theme panel > custom css:
.ie8 .td-header-main-menu, .ie9 .td-header-main-menu, .ie10 .td-header-main-menu, .ie11 .td-header-main-menu{
background-color: red;
}
This css works on IE 8, 9, 10, 11 and you can set any background color.
Thanks!
Hi
You can hide sidebar in every page from Visual Composer, but not post like this url for example: http://www.phonelane.com/phone-tips/lenovo-k3-note-dead-wont-start-showing-black-screen-and-unable-to-boot/
So if you want to hide the sidebar and footer from post you can use this css in theme panel > custom css:
@media (max-width: 767px){
.single-post .span4.td-post-sidebar{
display:none!important;
}
}
@media (max-width: 767px){
.single-post .td-footer-wrap{
display:none!important;
}
}
Thanks!
Here is my speed booster file
<?php
/*
Plugin Name: tagDiv Speed Booster
Plugin URI: http://tagdiv.com
Description: Speed booster for Newspaper 6 and Newsmag 1.x themes - It moves the styles and all the scripts of the theme to the bottom when needed. It activates internal theme optimizations for better speed and it adds async js .
Author: tagDiv
Version: 4.1
Author URI: http://tagdiv.com
*/
define('TD_SPEED_BOOSTER' , 'v4.1');
class td_speed_booster {
private $style_footer_queue = array(); // here we keep all the stylesheets IDs that we want to move to the footer
private $is_ie = false; // if the browser is detected as IE, treat it differently
// here we keep the theme information
private $td_theme_name = '';
private $td_theme_version = '';
private $td_deploy_mode = '';
private $allowed_plugins = array(
'bbpress/bbpress.php',
'contact-form-7/wp-contact-form-7.php',
'jetpack/jetpack.php',
'js_composer/js_composer.php',
'td-speed-booster/td-speed-booster.php',
'font-awesome-4-menus/n9m-font-awesome-4.php',
'wordpress-seo/wp-seo.php',
'wp-user-avatar/wp-user-avatar.php',
'td-social-counter/td-social-counter.php',
'wp-super-cache/wp-cache.php'
);
// this class is instantiated at the bottom of this page
function __construct() {
add_action('td_wp_booster_loaded', array($this, 'start_booster'));
}
/**
* everything starts from here
*/
function start_booster() {
// read the theme version and name if defined
if (defined('TD_THEME_VERSION') and defined('TD_THEME_NAME') and defined('TD_DEPLOY_MODE')) {
$this->td_theme_version = TD_THEME_VERSION;
$this->td_theme_name = TD_THEME_NAME;
$this->td_deploy_mode = TD_DEPLOY_MODE;
} else {
return;
}
// detect IE 8 9 10 11
if (
!empty($_SERVER['HTTP_USER_AGENT'])
and (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) or (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false))
) {
$this->is_ie = true;
}
// add hooks
add_action('wp_enqueue_scripts', array($this, 'css_mover'), 1002); // 1002 priority - because visual composer has 1000 and we use 1001 in the wp010 theme
add_action('wp_enqueue_scripts', array($this, 'js_mover'), 1002); // 1002 priority - because visual composer has 1000 and we use 1001 in the wp010 theme
add_action('wp_footer', array($this, 'render_footer_styles'), 15);
// hide the body only on IE and Newspaper 6+
if (
$this->is_ie === false
and $this->td_theme_name == 'Newsmag'
) {
//add_action('wp_head', array($this, 'hide_body_inline_css'), 15);
}
/**
* jetpack is 'special' - it has to be moved like this. It has now only one CSS
* the two hooks are needed!
* @since 27.05.2015
*/
add_action('wp_print_styles', array($this, 'jetpack_mover'), 10);
add_action('wp_print_footer_scripts', array($this, 'jetpack_mover'), 10);
}
/**
* jetpack is 'special' - it has to be moved like this. It has now only one CSS
* @since 27.05.2015
*/
function jetpack_mover() {
$this->move_style_to_footer_queue('jetpack_css');
}
/**
* here we move the css
*/
function css_mover() {
if ($this->td_theme_name == 'Newsmag') {
// wp 011 - Newspaper 6
//$this->move_style_to_footer_queue('bbp-default-bbpress'); //bpress old
//$this->move_style_to_footer_queue('bbp-default'); //bpress
$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google_font_roboto');
$this->move_style_to_footer_queue('contact-form-7');
if ($this->is_ie === false) {
// move style.css theme style
//$this->move_style_to_footer_queue('js_composer_front');
//$this->move_style_to_footer_queue('td-theme'); //this is the main style of the theme. It's only moved on Newspaper 6!
}
}
//@todo test on newsmag
$this->move_style_to_footer_queue('woocommerce_frontend_styles'); //old woocommerce?
$this->move_style_to_footer_queue('woocommerce-layout');
$this->move_style_to_footer_queue('woocommerce-smallscreen');
$this->move_style_to_footer_queue('woocommerce-general');
$this->move_style_to_footer_queue('bp-legacy-css');
$this->move_style_to_footer_queue('td-theme');
$this->move_style_to_footer_queue('font-awesome-four');
//move revolution slider css
$this->move_style_to_footer_queue('rs-plugin-settings');
$this->move_style_to_footer_queue('genericons'); //still rev slider
}
/**
* move the js
*/
function js_mover() {
global $wp_scripts;
//detect revmin - revolution slider and do not move jquery, the plugin outputs raw js in the page!
if( !is_admin() and !isset($wp_scripts->registered['revmin'])){
if (is_ssl()) {
$td_protocol = 'https';
} else {
$td_protocol = 'http';
}
wp_deregister_script('jquery');
wp_register_script('jquery', ($td_protocol . '://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'), true, '1.11.1', true);
wp_enqueue_script('jquery');
}
/**
* move javascript to footer
*/
$this->move_js_to_footer('themepunchtools');
$this->move_js_to_footer('td-site-min');
$this->move_js_to_footer('revmin');
$this->move_js_to_footer('archivesCW');
$this->move_js_to_footer('js_composer_front');
$this->move_style_to_footer_queue('archives-cal-classiclight');
//print_r($wp_scripts);
// replace comment-reply.min.js with inline version
}
/**
* here we render the footer styles
* the styles are already deregistered when you call @see move_style_to_footer_queue ($style_id)
*/
function render_footer_styles() {
//get the theme version for style
$current_theme_version = $this->td_theme_version;
//on demo mode, auto generate version hourly + day - so we get a fresh css hourly
if ($this->td_deploy_mode == 'demo') {
$current_theme_version = date('jG');
}
if (isset($this->style_footer_queue['td-theme'])) {
// whatever the order, make damn sure that our td-theme style is LAST - we remove it from the queue and add it again at the end
$td_theme_value = $this->style_footer_queue['td-theme'];
unset($this->style_footer_queue['td-theme']);
$this->style_footer_queue['td-theme'] = $td_theme_value;
}
// output the new styles
foreach ($this->style_footer_queue as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
}
}
/**
* prevent flickering of the image until the style is loaded
*/
function hide_body_inline_css() {
echo '<style>body {visibility:hidden;}</style>';
}
/**
* the id of the style can be found in the source of the page, for example:
* <link rel='stylesheet' id='td-theme-css' => the id is 'td-theme' (note that the '-css' part is missing)
* using this method you can move other styles if needed
* Moves a style to the bottom of the page
* @param $style_id string - the id of the style
*/
function move_style_to_footer_queue($style_id) {
global $wp_styles;
if (!empty($wp_styles->registered[$style_id]) and !empty($wp_styles->registered[$style_id]->src)) {
$this->style_footer_queue[$style_id] = $wp_styles->registered[$style_id]->src;
wp_deregister_style($style_id);
}
}
/**
* @param $js_id string - the js file id (this is a bit more complex to get) @todo -> add a tutorial about how to get the theme js
*/
function move_js_to_footer($js_id) {
global $wp_scripts;
if (isset($wp_scripts->registered[$js_id])) {
wp_enqueue_script($js_id, ($wp_scripts->registered[$js_id]->src), '', $wp_scripts->registered[$js_id]->ver, true);
}
}
}
new td_speed_booster();
and here is registered scripts
registered scripts
archivesCW | http://www.domain.com/second/wp-content/plugins/archives-calendar-widget/jquery.archivesCW.min.js
aspexi-facebook-like-box | http://www.domain.com/second/wp-content/plugins/aspexi-facebook-like-box/js/aflb.js
jquery | http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
td-site-min | http://www.domain.com/second/wp-content/themes/Newsmag/js/tagdiv_theme.min.js
comment-reply | /wp-includes/js/comment-reply.min.js
registered styles
archives-cal-classiclight | http://www.domain.com/second/wp-content/plugins/archives-calendar-widget/themes/classiclight.css
awesome-weather | http://www.domain.com/second/wp-content/plugins/awesome-weather/awesome-weather.css
opensans-googlefont | https://fonts.googleapis.com/css?family=Open+Sans:400,300
google_font_roboto_cond | http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700
google-fonts-style | http://fonts.googleapis.com/css?family=Open+Sans:400,700
js_composer_front | http://www.domain.com/second/wp-content/plugins/js_composer/assets/css/js_composer.css
td-theme | http://www.domain.com/second/wp-content/themes/Newsmag/style.css
td-theme-child | http://www.domain.com/second/wp-content/themes/Newsmag-child/style.css
Hello,

As you see in the image, I want to use responsive select boxes on my home page to list my categories and post. I could not find any suitable plugin or tool in the visual composer. Is there any solution that can help?
I think I am part way there.
With the help of the example in the API documentation, I have code for the new thumbnail, block and module, and have put what I thought was the correct code in the td_api_plugin.php (links to all code below)
1) The new block initially appeared in the visual composer but when used, and I tried to view the page, it gave a 404 error.
2) I directly edited td_page_builder_widgets.php to include the new block. The new block initially showed in the widgets but when used in a sidebar there were NO images on the page (the featured image also disappeared).
I didn’t know if I should reactivate the plugin after changes so tried to do so and now consistently get the following, and the widget of the new block is no longer available in the list:
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: jc_block_7 is not set.
/homepages/8/d453795254/htdocs/SiteHome/wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php
Links to code:
https://dl.dropboxusercontent.com/u/4800576/TagDiv%20questions/jc_block_7.php
https://dl.dropboxusercontent.com/u/4800576/TagDiv%20questions/jc_module_6.php
https://dl.dropboxusercontent.com/u/4800576/TagDiv%20questions/td-api-plugin.php
I would really like to see where this code is wrong please to help my general understanding, but I have found an alternative solution for this particular need.
td_block_21 also uses square images but in the theme is not in the widgets list. Having now found the way to get blocks in the list I put the block 21 in there and works great. I assume I cannot edit this file via the API or child theme? A direct edit is not ideal even though it is a simple one.
Thanks
Hi,
Please check if you don’t have any custom css that may affect this and also you can disable all plugins leave just Visual Composer and Woocommerce active, clear cache and see if you still have this issue maybe there is a plugin conflict.
If this doesn’t help you can try to target more specific and use this custom css: http://screencast.com/t/Mpy2RPq8Oo
.woocommerce .td-main-page-wrap div.product .woocommerce-tabs ul.tabs li.active {
background-color: #0d732f !important;
}
Thanks!
Hi,
In version 6 the logo can be used at 272×90 size like you already know, unfortunately it was designed like this and you can change it using custom css. You can upload your the size that you use in the footer and check it with this custom css in Theme Panel > Custom Css – http://screencast.com/t/exoB9n4gwr3 – http://screencast.com/t/jv6fQi15iDN
.td-header-style-1 .td-header-sp-logo img {
max-height: none !important;
}
.td-header-style-1 .td-header-sp-logo {
height: 115px;
max-height: none !important;
}
@media (min-width: 768px) and (max-width: 1019px) {
.td-header-style-1 .td-header-sp-logo {
height: 100px;
}
}
Regarding second issue I could not recreate this so please provide a link where you use this bloc so we can take look and inspect this. Also test it without any plugins active, leave only Visual Composer active, clear cache and see if the issue is still there.
Thanks!
Hi,
I have checked this with the latest version of the theme 6.3 and seems to work better with Visual Composer row in row option – http://screencast.com/t/N4k5WCcry – http://screencast.com/t/iOVTU7BuXeC I asked the developer about this and we suggest to update to the latest version using this guide(make a full backup of your current theme installation) – https://forum.tagdiv.com/how-to-update-the-theme-2/ and also disable all your plugins before update. After update please make sure that no files from version 4 will remain, to make sure of that you can try to update via ftp – https://forum.tagdiv.com/install-via-ftp/ then update also the theme’s plugins from the /plugin folder, activate it from here – http://screencast.com/t/ZtkWY5ykJgCh and make sure that you use the latest version – http://screencast.com/t/nn2stdsARkr check your site only with Visual Composer active and see if it works.
In the “how to update” guide is specified that you will have to run the script that will import from database your settings, will change the shortcodes. Unfortunately you will have to re-add your widgets in the sidebars as some of them may not be imported or don’t exist anymore, also they will become inactive.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Hi,
Please provide your site URL so we can take a look. Also please make sure that no files from version 4 of the theme remain after update like it is specified in the docs(this depends how did you updated FTP,wordpress..) and check if you updated also the plugins that come with the theme files from the /plugins folder and check the version – http://screencast.com/t/nn2stdsARkr
If you follow all these steps from “how to update 4-6” guide and run the script check your page only with Visual Composer active an also clear cache. You need also to regenerate the thumbnails after update – https://forum.tagdiv.com/using-the-theme-with-existing-content/
Please note that in version 6 any customization(to the theme files, custom css) from old version will not work and you will have to re-add them. In the “how to update” guide is specified that you will have to run the script that will import from database your settings, will change the shortcodes. Unfortunately you will have to re-add your widgets in the sidebars as some of them may not be imported or don’t exist anymore, also they will become inactive.
Thanks!
Hi,
Please make sure that you update the theme properly using this guide – https://forum.tagdiv.com/how-to-update-the-theme-2/ and also disable all your plugins before update. After update please make sure that no files from version 4 will remain, to make sure of that you can try to update via ftp – https://forum.tagdiv.com/install-via-ftp/ then update also the theme’s plugins from the /plugin folder, activate it from here – http://screencast.com/t/ZtkWY5ykJgCh and make sure that you use the latest version – http://screencast.com/t/nn2stdsARkr check your site only with Visual Composer active and see if it works.
Please note that in version 6 any customization(to the theme files, custom css) from old version will not work and you will have to re-add them. In the “how to update” guide is specified that you will have to run the script that will import from database your settings, will change the shortcodes. Unfortunately you will have to re-add your widgets in the sidebars as some of them may not be imported or don’t exist anymore, also they will become inactive.
Thanks!
Hi
For some reasons your button have an incorrect style property, might be from an plugin which overwrite the theme css. You can try deactivating all plugins, except Visual Composer, and test again. If the problem persist add this custom css in theme panel > custom css:
.td-scroll-up {
bottom: 4px!important;
}
Here is the result: http://screencast.com/t/XV4OOhUE
Hi
The top it’s incluted in the content and cant be moved easely, but you can use a custom ad in the post style 3.
You have to edit loop-single-3.php and use do_shortcode function like here: http://screencast.com/t/Ik2gNHZT2S8t To get the shortcode add an ad box in Visual composer, switch to backend editor, copy the shortcode- http://screencast.com/t/LvtB4Uhv and paste it inside the function:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Here is the result: http://screencast.com/t/whoitvII
Thanks!
-
This reply was modified 11 years by
Andrei L..
Hi,
First your css is not applied – http://screencast.com/t/tDRqI2IIh749 also I guess that you have some custom modifications there as the sticky menu is always enabled even at the top of the page – http://screencast.com/t/RVH6lmfQ
Header style 7 should look like this by default – http://screencast.com/t/LaG3m5D0Tax so please remove your custom modifications or if you don’t have please disable all your plugins, leave just Visual Composer active, clear cache and see if it works. I could not recreate this and it should not work like that, the sticky menu should be enabled only when you scroll.
Thanks!
Hi ShowbizCool,
Please see Radu’s post for more details on this here: https://forum.tagdiv.com/topic/speedbooster-not-moving-all-the-files-to-the-footer/#post-55023
The tagDiv Visual Composer Shim (an experimental plugin in beta version) or Disqus can be added to that list like this: http://screencast.com/t/r54qKzKuQiG just add them using this code:
'disqus-comment-system/disqus.php'
'td-visual-composer-shim/td-visual-composer-shim.php'
Thanks
Hi,
The theme doesn’t have an option to remove date and author on articles from a specific category and you will need custom modifications to achieve that. For example you could try in_category() function like this:
*for date(use the same function also on modules) in td_module.php file – http://screencast.com/t/saZTUxhGmwHq
*for author please edit td_module_single_base.php – http://screencast.com/t/XAOzPjVnC
Newspaper theme was designed for the default WordPress taxonomy and post types, it hasn’t been tested with custom post types or custom taxonomy if this is what you mean. Anyway you can customize theme’s post template you can find them in the root of the theme – http://screencast.com/t/MxzF2Erc and also the modules – http://screencast.com/t/AgAwwffZL
Also when you add a block to a page you can filter articles by a specific category(or multiple) and choose sort(latest) order so it will have the same functionality like category page – it will always show your new post if from that specific category – http://screencast.com/t/7ghBd5PzFx Another solution is to create a page, use a page template with latest articles(do not add any elements using Visual Composer) and just select a specific category for loop – http://screencast.com/t/9LP0wbYIdb4 so this page will use the loop like category page.
Hope this helps!
Hi
The border can be removed from Visual Composer like here:
http://screencast.com/t/WktRdoJF
http://screencast.com/t/WktRdoJF
http://screencast.com/t/N4V2liEgb
The video player can’t manage links to youtube channels, it only works with video ids like this: https://forum.tagdiv.com/video-playlist-newsmag/ You can arrange the video into a playlist in youtube and after that just insert the link in player. The entire playlist will be added with a single link: http://screencast.com/t/A3X2gKmv
To re-size the logo use this custom css in Theme Panel-> Custom Css:
.td-main-menu-logo img{
height:40px;
}
Not sure what you mean, please provide more details. You can add a specific category to the article you want to display on multiple pages, then add that category on the pages with a block from Visual Composer.
Thanks!
Thanks Sir. Sir as you told before I made these changes in my Custom CSS for blockquote colour: .td-post-content blockquote p {
color: #808080;
}
And also to add custom double quote for pull-quotes I made these changes in Custom CSS panel: .td-post-content .td_pull_quote p:before{
background:url("http://www.kickscoop.com/wp-content/uploads/2015/07/before.gif") no-repeat scroll 0 0 !important;
background-size: 40px 40px !important;
}
.td-post-content .td_pull_quote p:after {
background:url("http://www.kickscoop.com/wp-content/uploads/2015/07/after.gif") no-repeat scroll 0 0 !important;
background-size: 40px 40px !important;
}
.bbpress .td_pull_quote p:first-child:before, .comment-content .td_pull_quote p:first-child:before, .mce-content-body .td_pull_quote p:first-child:before, .td-page-content .td_pull_quote p:first-child:before, .td-post-content .td_pull_quote p:first-child:before, .td_block_text_with_title .td_pull_quote p:first-child:before, .woocommerce #tab-description .td_pull_quote p:first-child:before, .wpb_text_column .td_pull_quote p:first-child:before {
width: 50px;
height: 50px;
}
.bbpress .td_pull_quote p:after, .comment-content .td_pull_quote p:after, .mce-content-body .td_pull_quote p:after, .td-page-content .td_pull_quote p:after, .td-post-content .td_pull_quote p:after, .td_block_text_with_title .td_pull_quote p:after, .woocommerce #tab-description .td_pull_quote p:after, .wpb_text_column .td_pull_quote p:after {
width: 50px;
height: 50px;
}
NOW the problem is when I am writing any post or any page using Visual Composer these changes are not showing in my page or post. Rather I am getting same default theme accent colour for my blockquote while writing using Visual Composer. Also I cant see custom double quotes for pull-quotes while writing using Visual Composer. Also: I am unable to see any breadcrumb in the page which is edited or written using Visual Composer. Whereas I can see breadcrumbs in those posts written using default WordPress editor. PLease check this page: http://www.kickscoop.com/about/ to see the above problems in the page
Hi,
You can edit mainpage on Visual Composer for hide columns and rows.
http://oi62.tinypic.com/2nq7k9g.jpg
I don`t advise hide footer. But you can add this code in style.css for hide footer
@media (max-width: 767px) {
.td-footer-wrapper {
display: none;
}
.td-sub-footer-container {
display: none;
}
}
Hi
i cant remove from up this css
<link rel=’stylesheet’ id=’google_font_open_sans-css’
<link rel=’stylesheet’ id=’google_font_roboto-css’
<link rel=’stylesheet’ id=’google-fonts-style-css’
<link rel=’stylesheet’ id=’js_composer_front-css’
<link rel=’stylesheet’ id=’td-theme-css’
also i put in td_speedboster.php this
$this->move_style_to_footer_queue(‘google_font_open_sans-css’);
$this->move_style_to_footer_queue(‘google_font_roboto-css’);
$this->move_style_to_footer_queue(‘google-fonts-style-css’);
$this->move_style_to_footer_queue(‘contact-form-7’);
$this->move_style_to_footer_queue(‘open-sans’);
$this->move_style_to_footer_queue(‘cookie-notice-front-css’);
$this->move_style_to_footer_queue(‘js_composer_front-css’);
$this->move_style_to_footer_queue(‘td-theme-css’);
i try to eliminate css (google_font_open_sans instead google_font_open_sans-css)
but nothing happens
any suggestion?
thanks!
-
This reply was modified 11 years by
Bintmusic.
Hi,
1. Theme Ad system was designed for adsense code, for non-adsense banneres you will need to find a solution like those divs that we recommend, please check documentation – https://forum.tagdiv.com/header-ad/
Also you can hide it via custom css in Theme Panel > Custom Css: http://screencast.com/t/y3xrhMWWq8
@media(max-width: 767px) {
.td-header-sp-recs {
display: none !important;
}
}
2. Unfortunately the theme doesn’t have such an option, if unique articles feature is active it will be applied on all block from the page. You will have to filter posts by specific category on your blocks or maybe offset feature will help please check this – https://forum.tagdiv.com/unique-articles-and-offset-newspaper/
3. Unfortunately you will need to edit the plugin or use a hook to filter the content to add no follow to the button link and this is not an easy task. Also Call to action from Visual Composer is deprecated – http://screencast.com/t/DX7VtgZr9G and I guess that it will be removed.
Thanks!
Hi,
You have this issue because you use Visual Composer on posts page, unfortunately the tagdiv gallery was not designed for to be used in a text block in post. I have added this on our list and we will take a look at this and we will try to fix it in a future update. Using that custom css will break it on pages – http://screencast.com/t/EQRFHtUvD Try to target only post template and when is used in a text block like this:
.single .wpb_text_column .td-gallery-slide-copywrite {
background-color: rgba(0, 0, 0, 0.8);
display: inline-block;
float: left;
font-size: 11px;
font-style: italic;
line-height: 1;
padding: 4px 6px;
text-align: left;
}
.single .wpb_text_column .td-doubleSlider-1 .td-slide-item .td-slide-galery-figure img {
bottom: -50%;
left: -85%; // Changed
margin: auto;
overflow: auto;
position: absolute;
right: -50%;
top: -50%;
}
Thanks for reporting this!
Hi Alin,
thanks for the feedback – I’ve tried the steps you’ve suggested, but no luck. However I have been able to replicate the problem by creating a new (empty) post and adding a tagdiv gallery using the classic interface, it works fine. But when I switch to visual composer and add another section, for example a text block below the slider image is offset to the right, as well as the caption text immediately below the photo!
I’ve added some custom CSS to the page to fix it as a temporary workaround, maybe this can give you a clue as to what causes this. Are you able to replicate the same issue on your Newspaper installation, or is it just something specific to my setup?
.td-gallery-slide-copywrite {
background-color: rgba(0, 0, 0, 0.8);
display: inline-block;
float: left;
font-size: 11px;
font-style: italic;
line-height: 1;
padding: 4px 6px;
text-align: left;
}
.td-doubleSlider-1 .td-slide-item .td-slide-galery-figure img {
bottom: -50%;
left: -85%; // Changed
margin: auto;
overflow: auto;
position: absolute;
right: -50%;
top: -50%;
}
Hello,
I have found that..
Catchable fatal error: Argument 1 passed to Vc_Edit_Form_Fields::setSettings() must be an array, null given, called in C:\APM_Setup\htdocs\jin\wp-content\plugins\js_composer\include\classes\editors\class-vc-edit-form-fields.php on line 47 and defined in C:\APM_Setup\htdocs\jin\wp-content\plugins\js_composer\include\classes\editors\class-vc-edit-form-fields.php on line 68
this plugin might be a problem. how can I make it work in local server?
thanks
Sure you’re not making posts with VC ?
In looking at your page source for a sample post …
http://dev.lightersideofrealestate.com/real-estate-life/cool-stuff/tiny-house-bestie-row
this is your body class
<body class="single single-post postid-4745 single-format-standard wpb-js-composer js-comp-ver-4.5.3 vc_responsive td-boxed-layout" itemscope="itemscope" itemtype="http://schema.org/WebPage">