Update from 6.5 to 7.0 Classic Blog theme logo not centered display on left

Posted in: Newspaper
Post count: 22

First of all: Wonderful job guys with the new theme. It looks amazing!
I’ve upgraded from 6.5 to Newspaper 7 and I was using the Classic Blog theme.
I’m using Style 11. My website is 101zap.com
After the upgrade the logo on the top is not centered anymore, it’s displayed on the left.
Do I have to install/upgrade the theme from 7.0?
How can I fix this?
Did I did something wrong?
Do I have to update Visual Composer as well ?

Post count: 22421

Hi,
You can try to install the blog demo again in newspaper 7 to see if the css was changed. I see a width of 500 px added to the logo that does not come from the theme’s style.css that affects it’s position. http://screencast.com/t/Zfk0Xzx4z
Based on the code I assume it’s an optionr from jetpack. Please remove this option.
Thank you!

Post count: 22

Hi,

I’ve tried to remove it by adding this code to the functions.php file of the theme.

function dequeue_devicepx() {
wp_dequeue_script( ‘devicepx’ );
}
add_action( ‘wp_enqueue_scripts’, ‘dequeue_devicepx’, 20 );

It didn’t worked.

If I install the blog demo again do I loose my settings?

Post count: 22421

Hi,
When you install a demo you will only lose the demo content you had installed previously and the style of your current demo. The best thing to do is to create your own content and not edit the demo content that is added by a demo install as when you uninstall a demo, this content will be removed.
Thank you!

Post count: 22

Hi,

I’ve tried to reinstall the Classic Blog demo but probably I didn’t do it correctly.

I did uninstall it first, then install it. Everything was don from within WordPress, Newspaper – Install demos.
After reinstall was showing me the default view of Newspaper without a theme.

I had to revert my site to a previously database and files.

What I did wrong? How should I do it?
Is there other way to fix this without reinstalling the Classic Blog demo?

Post count: 5

I have the same issue with my logo not being centered. However, it only happens on the home page and not any of the others. I have tried all other styles and have not been able to center the logo on the home page. Any thoughts? http://www.nitwity.com

Thanks

Post count: 22421

Hi,

@Thisguyhere,
It’s the same problem as above, Please disable all plugins except visual composer, clear cache and reset cdn files if you use it. Thenn check your homepage again without the plugins.


@Andrei
,
There is no other way to install a demo besides the theme panel. Please try to install a different demo and then install the classic blog. If this fails, maybe the customization you made broke some parts of the theme so please also do a clean install via ftp and start fresh. Your content will not be lost as it is kept in the database.

Thank you!

Post count: 5

I disabled all of the plugins except visual composer and I do not use any caching on my website. I did clear browser cache etc. No luck. Still the logo is floating to the left side only on the home page. The only difference between the homepage and the others is the layout/ grid style.

In google chrome when the page first loads I can see the logo in the center for a split second and then it floats left.

Post count: 22421

Hi,
The logo gets moved left from a code you added in the theme panel and not a plugin. Please remove this code: http://screencast.com/t/wPjTlcbdt and the logo will stay centered again. You do not need to specify the width for the logo as the header style you use will display the logo in it;s full width (300px).
Thank you!

Post count: 5

Thank you! This did solve the problem. That code must have been part of a demo I installed. I really appreciate the help!

Post count: 22

I’ve tried both solutions, no luck.
It has the same behavior as Thisguyhere described.
It happens only on homepage, and initially it’s displayed centered for a split of a second and then floats left.
I’ve tried to look also for the solution you gave him but I don’t find that code.
Can you please help?
Can you please guide me?

  • This reply was modified 10 years by Andrei.
Post count: 22421

Hi,
Please try this custom css:
.td-logo{
width:auto!important;
}

Thanks.

Post count: 22

Thank you Bogdan, for replying.
In the mean time I found the custom css that you described here http://screencast.com/t/wPjTlcbdt.
I’ve removed it and now it’s fixed.
Thanks for all your help.

Viewing 13 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic.