- NewspaperHow to Add a Logo in Newspaper
- NewsmagLogo & Favicon
- NewspaperShortcodes
- NewspaperHow to Set the Image Avatar
- NewspaperThe Mobile Theme
- NewsmagWhat’s included in Newsmag theme package
- NewsmagMain menu
- NewsmagHeader styles
- NewsmagFooter templates
- NewsmagTheme colors introduction
- NewspaperFavicon & iOS Bookmarklet
- NewspaperHeader styles
- NewspaperWhat’s Included in the Newspaper Theme Package
Hi tagDiv Support,
Thanks for a great theme. Can you please guide me how to put the leaderboard 970×90 above the logo. And please how to extend the logo image to 480px (align left) and a teaser image 465px (align right) next to logo, like this: http://naturguide.dk/test/header_layout.jpg
Thank you very much
Lisborg
You likely need to remove the auto generated echo home_url() to the static URL you want in all the header-styleX.php files to be safe.
in the /parts/ folder, try the
header-style-1.php
logo-mobile.php
edit this line
<a itemprop="url" href="<?php echo home_url(); ?>">
<img width="300" class="td-retina-data" data-retina="<?php echo htmlentities($td_customLogoR) ?>" src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?>/>
</a>
need to replace these
href="<?php echo home_url(); ?>"
with
href="http://yoursite.com/directory"
I tried doing option 1 before and it completely broke my whole site to the point that I had to recreate all of my posts, and images…it was a nightmare.
I tried the second option before. well, I erased the entire line. it didnt work.
Then i tried your suggestion of replacing the php line, but it failed to work and the logo still links to pitchforkmarketing.com
Im working of of the child theme file “header-style-1.php”
I’m certain that is the correct file. Any other options
btw, thanks TheMediumUTM
Try changing the site url in WordPress’s settings (“General” tab) to pitchforkmarketing.com/blog. This represents where the WP site is.
The target of that link is generated in whichever header file is associated with the style you’ve chosen in the theme panel (and located in wp-content/themes/Newspaper/parts/). The relevant code is <?php echo home_url(); ?>. If the first step fails to work, or for some reason you don’t want to change youur site url, you could create a child theme and change the line to <?php echo home_url() . '/blog'; ?>.
Hi,
I really need help here,
I need to remove the hyperlink from my blog logo/site title, or change the destination…preferably change the destination.
Right now when the logo is clicked, it goes to http://pitchforkmarketing.com
But that is a landing page, i need it to link to
http://pitchforkmarketing.com/blog, which is my actual blog
Or not link to anything at all and i can just add a “home” link in the nav menu.
Please help, thanks alot.
Hi. I know that you have a lot of posts about this, and i have read all of them, but i didn’t found any answer yet!
I use for homepage : Homepage – with article list . I had made also a comment in themeforest and the answer from staff was this:
Only one template comes with h1 page title – http://screencast.com/t/lrtO3f9ny
The page title (H1) or subtitle (H2) can be added manually using visual composer – http://screencast.com/t/fgekI1Gb – http://screencast.com/t/Uj6edkvf
Or by modifying the template files – http://screencast.com/t/2fcHKsQyVJ34
The other elements on page like block/modules titles use h3 and h4 tags. When we built the templates we followed the best practices used by Yoast and other SEO specialists.
If you hide the title on page using css display: none or moving it outside of the visible screen area (ex. position: absolute; top: 9999px; ) Google will penalize you. Here are some discussions on the subject – http://stackoverflow.com/questions/3239202/whats-the-correct-way-to-hide-the-h1-tag-and-not-be-banned-from-google
But it is not good for style to have a text as h1 visible! Any other suggestion? If i set logo with h1, also in posts i am going to have 2 h1 tags, and this is not right.
My website is this: http://www.radarnews.gr/
Hi,
Please use this custom css to fix this:
@media (max-width: 767px){
.td-header-bg .header-style-3 .td-logo img {
position: fixed;
top: 3px;
z-index: 3;
width: 180px;
height: 48px;
}
.td-menu-placeholder .td-affix {
height: 48px;
z-index: 2 !important;
position: fixed !important;
}
}
Should work like this: http://screencast.com/t/OTIVJzbYW8p
The logo looks like that because of it’s original size, try to add an logo for mobile from theme panel.
Thanks
Can I give you access here? I am still experiencing this issue.
Hi,
Use the following custom css to fix the header:
@media (max-width: 767px){
.mobile-logo-wrap img {
top: 2px !important;
height: 100% !important;
}
}
@media (min-width: 768px) and (max-width: 1018px) {
.header-logo-wrap {
height: 69px;
}
.header-logo-wrap img {
margin-top: 20px;
}
}
@media (min-width: 1019px) and (max-width: 1200px) {
.header-logo-wrap {
height: 80px;
}
.header-logo-wrap img {
margin-top: 25px;
}
}
@media (min-width: 1201px){
.header-logo-wrap {
height: 100px;
}
.td-header-bg .header-logo-wrap img {
margin-left: 67px;
margin-top: 28px;
}
}
Noticed that you have figured out how to change the background: http://screencast.com/t/t7GgF5vlI
Glad you did!
Thanks for the message!
Hi,
Use this css to make the logo look like this: http://screencast.com/t/22Ydp8GV7a3R
.mobile-logo-wrap img {
height: 100% !important;
width: auto !important;
top: 0px !important;
}
@media (max-width: 767px) {
.td-menu-wrap {
height: 55px !important;
}
}
Change the values as you like.
Regarding the “menu icon” I have noticed that it’s there now: http://screencast.com/t/DJlgZSaviL also looks like it should. Please let me know if you have any other issues with this.
Thanks
Hi,
I’m having an issue with logo display on mobile.
I’m using header style 2, and i’ve configured same image on both places (Logo => Logo upload & Logo for mobile => Logo mobile In Menu).
I had logo problems in the past, and i was told to add following css:
.mobile-logo-wrap img {
height: 100%;
width: auto;
top: 0px;
}
but since recent theme upgrades (older than 4.2.1), i have a new display issue.
Is there a way to use Style 2 and adapt custom CSS ?
my site:
http://www.fantasy-coach.fr
Also, ‘menu icon’ is no more visible on mobile, this is since 4.2.2 upgrade, any advice on that?
thanks for your herp
BR
Glad you have figured it out. Please let me know if you have any other theme related issues.
Thanks for the message!
Have a nice day!
ok i found a different solution 🙂
-
This reply was modified 11 years by
Viralvid.
Hey Guys! I tried to set my logo as full width (teilado.de) but i still have white blocks on both sides. I tried adding this code in custom css but it only got rid of the white space on top of the logo
.td-full-logo .td-grid-wrap, .container-fluid, img {
padding-right: 0px;
padding-left: 0px;
padding-top: 0px !important;
}
i also tried making the logo longer but it only gets smaller and does not fill the white space.
Thanks for you time 🙂
Hi,
Please add this custom css in theme panel > custom css:
@media (max-width: 767px) {
.td-menu-background {
z-index:2;
}
.header-style-3 .td-logo img {
height: 48px;
top: 0px;
position: fixed;
width: 180px;
}
}
Modify the height and the width to enlarge the logo on mobile screens.
Should work like this: http://screencast.com/t/fcPUHPX2drG1
Thanks
I have my logo set up to by style 3 – I need this as I want a full width logo. Is there any way to make it a full width logo on my phone? Or even to come up on the phone as I just get nothing currently (digitalnomadwannabe.com)
Hi,
Glad it works now!
Thanks for the message!
No, I’m actually getting the same thing as you, duplicate og:image tags that both point to the featured image. And I’ve actually dropped Yoast on my primary site thanks to the numerous issues the plugin has. SEO Ultimate is working nicely. But I’ve tried both to see if this issue is affected by it, no dice.
Facebook is working perfectly. Also using Jetpack publicize. Until this last theme update the google plus posts were excellent, as were Facebook and twitter. Now, the latter two are fine but google is missing the featured image. Even more strange, to me, is that when manually posting to google it only shows my logo, an ad, and the author image as options. That’s whether I post to google via my ESSB plugin or manually from my google profile.
My point is, if it’s google having an issue then that was some pretty fantastic timing that the issue started on the post immediately following the theme upgrade. No clue how that works out, if it is the theme, but I gotta go with a plausible theory in this case, not some far-fetched coincidence.
So, you’re saying that when you view your page source the OG tags show link to your logo and not to the featured image? That is very weird.
In the latest version I’m seeing two OG image tags, both with my featured image link, and one twitter tag with featured image link — not sure why there is duplicate there, unless theme inserting one as well as YOAST, or yet another (sigh) bug in Yoast’s SEO plugin (when you put out a plugin, then issue 2 patches the same day for bugs, shows a lack of testing on Yoast’s part, sadly).
Note that G+, and Facebook don’t “always” grab the correct image. If you see the proper OG and twitter tags in your meta data doing “view source” it’s not a meta data problem, but an issue with Google.
Having the same kind of problem since the 4.2.1 update, Chris. Mainly on Google+ sharing. Using Yoast and Easy Social Share Buttons from Code Canyon the image attached to the share is my logo, not the featured image. All posts get a featured image and this started happening immediately following the latest theme update.
It’s found in the folder when you download all the files from Themeforest. 🙂
They really should add a note about this in the documentation, as it’s standard practice to include version info with file downloads. However most folks new to webdev would not know that.
Note the files:
*changed_files_4.2_4.2.14.2.1.html
*update_log.txt
[ V 4.2.1 ]
– fix categories display in Theme panel -> Categories
– fix Revolution Slider z-index issue with menu behind
– fixed footer copyright text problem with some characters
– fixed social counter + twitter
– social counter – added no follow on links
– classic blog – text logo fix
– classic blog – menu colors fix
– classic blog – boxed version fix
– fixed sidebar bug on template + loop
—————-
Newspaper theme
Here is a list of all the changes between v 4.2 and v 4.2.14.2.1
Modified files – 17 files
•footer.php
•includes\wp_booster\td_config.php
•includes\wp_booster\td_css_generator.php
•includes\wp_booster\td_page_generator.php
•js\min\site.min.js
•less_files\editor-style.less
•less_files\menu-top.less
•less_files\pagebuilder\td_revolution_slider.less
•less_files\post-templates.less
•less_files\stacks.less
•page-homepage-bg-loop.php
•page-homepage-loop.php
•parts\menu-header-center.php
•sidebar.php
•style.css
•wp-admin\images\post-templates\post-templates-icons-5.png
•wp-admin\panel\views\panel_categories.php
Deleted files – 0 files
•none
New files – 0 files
•none
With the upgrade to the new version, using the style 1, you have solved the problem.
Thank you
Got it. Thanks a lot for wonderful support.
I sent the information via email.
Hi,
Please make sure you have set the both logos right then check again, if this is still happening please send an e-mail at contact@tagdiv.com with wp-admin user and pass so we can check this, also send an URL to this topic or specify this issues details.
Thanks