Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
GadgetViper
tagDiv Member

There doesn’t seem to be an option on this forum to delete a post?

I did the update, it went smoothly.

So no help is required.

Thanks

GadgetViper
tagDiv Member

I mean v11.5 😛

GadgetViper
tagDiv Member

Thank you.

GadgetViper
tagDiv Member

Hi,

I recently fixed this on my site using this guide

You just need to paste this into the .htaccess file:

# BEGIN Expire headers <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 5 seconds" ExpiresByType image/x-icon "access plus 604800 seconds" ExpiresByType image/jpeg "access plus 604800 seconds" ExpiresByType image/png "access plus 604800 seconds" ExpiresByType image/gif "access plus 604800 seconds" ExpiresByType application/x-shockwave-flash "access plus 604800 seconds" ExpiresByType text/css "access plus 604800 seconds" ExpiresByType text/javascript "access plus 604800 seconds" ExpiresByType application/javascript "access plus 604800 seconds" ExpiresByType application/x-javascript "access plus 604800 seconds" #ExpiresByType text/html "access plus 600 seconds" #ExpiresByType application/xhtml+xml "access plus 600 seconds" </ifModule> # END Expire headers

GadgetViper
tagDiv Member

Thanks, that fixed it 🙂

GadgetViper
tagDiv Member

Ok,

I think I’ve come up with a simple div class to replace the 2 column VC_ROW shortcode.

The CSS

	 
/* VC_ROW REPLACE */
.section {clear: both; padding: 0px; margin: 0px;}
.vcrow { display: block; float:left; margin: 1% 0 1% 1.6%;}
.vcrow:first-child { margin-left: 0; }
.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }
.twocols { width: 49.2%;}
@media only screen and (max-width: 480px) {
.vcrow{ margin: 1% 0 1% 0%;}
}
@media only screen and (max-width: 480px) {
.twocols { width: 100%; }
}

The HTML


<div class="section group">
<div class="vcrow twocols"> CONTENT </div>
<div class="vcrow twocols"> CONTENT </div>
</div>
GadgetViper
tagDiv Member

All of my posts have the [vc_row] shortcode to create a 50/50 split. Even though I had VC disabled for posts, I manually used the shortcode which I’m guessing means I sort of did use it, even though it was not active on the backend.

After I updated to 8.7 everything worked except for these areas of the post. When I changed the span6 CSS in my child theme from 50% width to 34% it restored the appearance. I’ve since deactivated VC and I’m now using TagDiv composer on pages which I think is absolutely awesome.

I think what I need to do now is find a suitable solution to replace the VC shortcode on posts so that I can restore the span6 style back to 50%.

I’m not sure where else this span6 style is used, but the site seems to appear ok with it set to 34%

Maybe I can use .CSS to create 2 floating div’s that have min-widths to cause them to fall beneath one another when viewed on a mobile.

GadgetViper
tagDiv Member

I didn’t use VC on my posts, just the shortcode (manually) what would be the best method for replacing the [vc_column width="1/2"] shortcode to achieve the same effect of splitting the themes main coloumn in two halves that will remain responsive?

Thanks

GadgetViper
tagDiv Member

Ok, changed style as follows:

This:

.td-pb-span6 {
width: 50%;
}

Became This:

.td-pb-span6 {
width: 34%;
}

Please let me know if you think this will cause issues?

Regards

Simon

GadgetViper
tagDiv Member

Also, I’m going through the child theme files included with version 8.7 and I can see style.css has reference to version 7.7 and the functions.php file references V6.3+ I’m guessing these are just old references and not to worry about them?

GadgetViper
tagDiv Member

Thanks,

I just watched the ftp update video on the documentation page and it showed the new theme overwriting the old? Would it not be better to fully delete for previous Newspaper folder rather than overwriting?

Thanks

GadgetViper
tagDiv Member

I think it’s a fix for a security warning from the new Chrome browser, see this post

“Version 7.6.1 – January 26th, 2017

fix: We modified the login modal window code to only appear on the page when front page login is enabled. This makes sure that some versions of Chrome browser will not mark the site as Not Secure.

GadgetViper
tagDiv Member

Version 7.6.1 – January 26th, 2017

fix: We modified the login modal window code to only appear on the page when front page login is enabled. This makes sure that some versions of Chrome browser will not mark the site as Not Secure.

GadgetViper
tagDiv Member

Thank you for the fix 🙂

GadgetViper
tagDiv Member

Just to let you know, I’ve finally fixed the problem and it had nothing at all to do with the Theme.

It was a combination of two plugins that I’ve since deleted.

Thanks for the community support, it’s one of the things that makes Newspaper so great.

-Simon.

GadgetViper
tagDiv Member

Hi Chris,

I did as you suggested, used the wp-optimize plugin with the transients option ticked, I also resaved the permalinks, still no luck.

I noticed in the Theme Status tab the WP Memory Limit is 40MB/request instead of the recommended 64MB do you think that might have an effect on the load time of the backend?

Thanks

EDIT: I just followed this guide – https://forum.tagdiv.com/system-status-parameters-guide/ and changed the limit, it’s now 64MB and it’s made no difference…

GadgetViper
tagDiv Member

Hi Chris,

Thanks for the suggestion, I did just try purging the entire Cloudflare cache, but it didn’t have an effect on the back-end.

I wonder if you’d know if there is likely to be any ill effects from switching to a default theme and then back to Newspaper? Would all my widgets and theme settings remain intact?

GadgetViper
tagDiv Member

My front-end seems fine as far as I can tell, I do use Cloudflare, however, which I think takes a little strain off the server.

My back-end is taking around 12 seconds to load during navigation.

GadgetViper
tagDiv Member

Alln,

I just want to say thanks for the support, I took your advice and the update went perfectly 🙂

Cheers!

GadgetViper
tagDiv Member

Thanks for the quick response.

So, to clarify, the new mobile theme will not take Custom CSS from the Newspaper child theme? If I wanted custom elements on post pages, would I need to create a child for the mobile theme?

Thanks

EDIT – I guess I need to just paste all my child theme CSS into the CUSTOM CODE section of the mobile theme backend right? then presumably back it up on any future updates.

GadgetViper
tagDiv Member

Thanks for the links Catalin, I’m definitely going to be taking additional steps. The reason I mentioned it here, is that the code was added to a theme setting, which made me think there might be a loophole in the theme itself.

GadgetViper
tagDiv Member

Hi Catalin,

Thanks for taking the time to respond. I’ve managed to find a work around using CSS.

I ended up removing the ‘thead’ and ‘th’ table.

I switched this:


<thead>
<th>Brand</th>
<th>Model No.</th>
<th>Capacity</th>
<th>USB ports</th>
<th>Max output</th>
<th>Price*</th>
<th>Buy Online</th>
</thead>

To this:


<tr class="hide-mobile hbold">
<td>Brand</td>
<td>Model No.</td>
<td>Capacity</td>
<td>USB ports</td>
<td>Max Output</td>
<td>Latest Price*</td>
<td>Buy Online</td>
</tr>

Then I created a CSS class for the ‘tr’ (hide-mobile) that hides the top header row when the table collapses on mobile views.

Think it works pretty well when you reduce the page width, you can see it working here – http://gadgetviper.com/best-power-bank-20000mah-review/

The important thing is that I can toggle between visual view and html when editing the post in WordPress without it breaking the tables 🙂

GadgetViper
tagDiv Member

Well I’m certainly no web design purist, I just fiddle around with it until it looks as good as I can get it, but here is what I use, it could probably be improved and refined.

HTML
———————

<div class=”block-title”><span>Buy Online </span></div>
<div class=”link”>PRODUCT</div>
<div class=”link”>VENDOR</div>
<div class=”link”>reviews (100)</div>
<div class=”link”>price: £200.00 £100.00</div>
<div class=”link-view”>view</div>

CSS
—————-

.link {
border-right: 1px dotted lightgray;
display: block;
float: left;
padding: 2px 10px 2px 10px;
font-family: “Roboto”,sans-serif;
font-size: 12px;
text-transform: uppercase;
}

.link-view a {
background-color: #5aaf0b;
color: #fff;
display: block;
float: left;
font-family: “Roboto”,sans-serif;
font-size: 12px;
font-weight: 700;
margin-left: 15px;
padding: 2px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
width: 75px;
}

By the way, I should mention it doesn’t collapse up that well when viewed on smaller screens, I’ve sort of replaced it with a new design that seems to work better over all platforms:

http://gadgetviper.com/foldable-keyboard-full-size-bluetooth/

Best of luck..

GadgetViper
tagDiv Member

Hi, I’m glad you like it Mabrel, it’s actually just good old fashioned html and css. I don’t actually use VC on posts, I think I read somewhere that it slows the page down, not sure if that’s true or not.

I just cut and paste the html into the post and edit the link.

GadgetViper
tagDiv Member

Thanks Chris 🙂

Viewing 25 posts - 1 through 25 (of 39 total)