Search Results for 'header'

Results from the Forum
OuweAap
tagDiv Member

I have the exact some problem and question.
See here: http://goo.gl/fSaU7L

Also would like to knwo how to completely remote the category header and subcategories.

ehtacl
Participant
#0

hi!

WP 3.9.1, bbPress 2.0.1, WP_DEBUG is TRUE
Theme: Newspaper Version: 4.0.1
Plugins: Akismet, Animated Gif Resize, Contact Form 7, Revolution Slider, tagDiv Social Counter, tagDiv speed booster, WPBakery Visual Composer

After install and activaite bbPress take this err in admin panel:
1.
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

2.
in /sata2/home/users/xxx/xxx/xxx/wp-includes/functions.php on line 3245 Warning: Cannot modify header information – headers already sent by (output started at /sata2/home/users/xxx/xxx/xxx/wp-includes/functions.php:3245) in /sata2/home/users/xxx/xxx/xxx/wp-includes/option.php on line 747 Warning: Cannot modify header information – headers already sent by (output started at /sata2/home/users/xxx/xxx/xxx/wp-includes/functions.php:3245) in /sata2/home/users/xxx/xxx/xxx/wp-includes/option.php on line 748

Please help me understand and fix the problem.
thnks!

macnews1
tagDiv Member

I was able to get this figured out so I will place what I figured out here as a reference in case others are also using double click.

First, in your header file you need to use the following code:

<script type=’text/javascript’ src=’//partner.googleadservices.com/gampad/google_service.js’>
</script>
<script type=’text/javascript’>
GS_googleAddAdSenseService(“ca-pub-your google ad sense pubid”);
GS_googleEnableAllServices();
</script>
<script type=’text/javascript’>
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “DFP inventory name spot1 here”);
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “DFP inventory name spot2 here”);
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “DFP inventory name spot3 here”);
GA_googleAddSlot(“ca-pub-your google ad sense pubid”, “rightsidebar_300x250″);

</script>
<script type=’text/javascript’>
GA_googleFetchAds();
</script>

Then in the theme file under the ads setting you place the following code in place:

<div style=”width:300px;height:250px;margin-top:10px;margin-left:auto;margin-right:auto”>
<script type=”text/javascript”>
GA_googleFillSlot(“rightsidebar_300x250”);
</script>
</div>

This works for me.

davistar
Participant
#0

Hello dear TagDiv team,

is there a way to have the same fonts on pages and custom post type as well? Posts have different font sizes, even for headers. In the theme panel there are no options for pages/custom post type.

Thanks!

Kind regards

substreamjacob
tagDiv Member

I had to revert my theme back to 1170px because the big slider doesn’t currently work with 980px. Here is a screenshot of the overlap.

http://imgur.com/OdIn7WK

substreamjacob
Participant
#0

Hey guys, I have a header banner with the dimensions of 728x90px. I’m running my ads through an ad management service (BuySellAds) and have the shortcode pasted into the “Header ad” box in the Theme Panel.

My problem is that when the site’s responsive settings are set for 980px, the ad overlaps my logo. I can see that there is enough space to the right of the ad to move it away from the logo while keeping it within the 980px, but I can’t figure out for the life of me how to do it.

Any assistance would be so greatly appreciated.

substreammagazine.com

Marius
tagDiv Staff

Hi,
If you want you can remove the background color to make the side full width and we can provide you a CSS that change the color for the background.

Use this CSS, add it in Theme panel -> Custom CSS

#inner-wrap {
    background-color: #00042b;
}

For header you have the color in Theme panel -> Theme colors.

Now you can use the full width post template.
Hope this help!

Thanks for the message!

simchris
tagDiv Member

@Gee95

several of your errors should be set on on the server/hosting side of things and not via WordPress / plugins

1) gzip/deflate must be set to “on” for your server; contact your hosting provider
2) browser caching is controlled via expiration headers for content; with Apache it’s easy with htaccess file (see the pagespeed sticky topic for my settings)
3) vary/accept encoding header, set at server

Note that is why these items are marked “server” when doing test check on speed. These items are good for about 20 points alone and should be done first before doing anything else as these are necessary for ANY website, especially WP, to run faster (or really, to run properly).

Lucian
tagDiv Staff

Hi,

You have no menu because you use the top one and that one it’s hidden on mobile, If you want you can add a menu or you can add this
CSS in Theme Panel > Custom CSS:

@media (max-width: 767px) {
.td-header-menu-wrap {
display: block !important;
}
.mobile-logo-wrap img {
top: 0px !important;
}
}

This way you will set the top menu to appear on mobile too. Unfortunately it will look like this: http://screencast.com/t/h2aWk9lQDKOS

Thanks

Lucian
tagDiv Staff

Hi,

You can add it using the “Header Ad” section in Theme Panel > Ads, follow this guide (How to make responsive text/flash or image ads:) – https://forum.tagdiv.com/ads/

Replace the images in the code with yours.

Thanks

Lucian
tagDiv Staff

Hi,

You have to use this class .td-a-rec-id-header in the code i gave you, as i said before, the class changes if the ad type it’s changed.

You can draw it on the image like this http://screencast.com/t/RcBrKx2fB and then set the image to be displayed in the your header ad section in Theme Panel and place the link you want as well.

Thanks

Marius
tagDiv Staff

Is fixed, you need to make the update again. If you want to change the H like you want, change it from style css: http://screencast.com/t/I0d1fxtdeeW

We will add today all those setting to be in Theme panel.

Thanks for the message!

mehedi
Participant
#0

Hi,

I added my logo to the main menu by following this forum post: https://forum.tagdiv.com/topic/moveplace-logo-in-menu-when-scrolled-down-and-menu-fixed/

It worked perfectly before but it doesn’t seems to be working after I updated my site to Newspaper V4.

FYI, I am using Smart Snap Always from the Header Settings.

Please help.

Thanks!

Marius
tagDiv Staff

Hi,

We will fix it ASAP, will be an small fix update. Thanks for reporting this!, if you find other issues please write here: https://forum.tagdiv.com/topic/newspaper-v-4-0-topic/

gettinenglish
Participant
#0

Hi, I’ve just insatlled newspaper 4 and it’s amazing! But I noticed that there is a problem with header 1 and 2 There are soo big! 🙂 Is there any possibility to fix them?

Best Regards
Mateusz

jonathanbond007
Participant
#0

I am having a difficult time adding a Featured Post Slider to the Newspaper Theme. Maybe it’s just me. I am trying to put a featured post slider into the theme where it post selected articles above the recent posts. I’ve tried putting the code in the header.php file, but nothing happens. I don’t want to kill the site by winging it. How and where do I put the code for a featured post? And does anyone have suggestions on which slider plugin I should use for this Newspaper Theme?

mrsky28
Participant
#0

Hi,

I’d like to know which part of the plugin should I edit if I want to use Yoast’s Breadcrumbs feature?

Here’s the code: `<?php if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘<p id=”breadcrumbs”>’,'</p>’);
} ?>`

I tried searching the theme’s header.php but it’s not there I think.

simchris
tagDiv Member

If you’re having trouble optimizing via plugin, I would likely contact your hosting provider and optimize your dbase from phpmyadmin or similar outside of wordpress (e.g., command line, or from server side).

But yes… on a 190MB dbase, WP-Optimize clears out on average about 27.5MB of crap, depending on when you do an optimization.

I think the pagespeed insights reference to browswer caching is having
1) expires headers from the server (or via htaccess on Apache, or config file on nginx), which specify a time to live, such as “cache fonts for one week, don’t reload them every time a page loads” … that is the purpose of “browser caching” — same with CSS, images like a logo, javascript, etc. — my settings are in the sticky for pagespeed.

2) remember to have gzip/deflate running on server side, you don’t need plugin for that as the server can compress everything on request

I’m not currently using W3 cache, and frankly I’d leave that off until you get everything else sorted as otherwise you end up caching incomplete pages from the other errors or overloads. Once EVERYTHING else is solid, THEN you would turn on the cache as the LAST thing in the chain.

Hope that helped a little (been there!). 🙂

  • This reply was modified 12 years by simchris.
Lucian
tagDiv Staff

Hi,

The code depends on the type of ad you use in the header. For example the code i gave you it’s for ads that use an image as it use the .td-visible-desktop or -tablet-l or -tablet-tp or -phone classes and adds content after it, if you decide to use AdSense ads the classes changes and you also need to change the class in the css code i gave you http://screencast.com/t/zuPw34Trbrm
Try changing the classes according to your ad type.
If you can’t do it please send me your site URL so i can check.

Thanks

mbasche
tagDiv Member

\wp-content\themes\newspaper\header.php

simchris
tagDiv Member

(9pm PDT/PST 7/15)
You have a lot of elements not loading properly, or only partially loading, when I just looked at your site. Likely a number of CSS, java, etc. is not loading at all due to the site being terribly slow right now, and timing out left and right. Header is a mess in IE7/Win64 on a 75mb FIOS connection, reloading page doesn’t make it better, left sticky social disappears then comes back, some social icons floating off right side in circles, etc. Likely first step is getting pages to fully load at all.

simchris
tagDiv Member

You have a lot of elements not loading properly, or only partially loading, when I just looked at your site. Likely a number of CSS, java, etc. is not loading at all due to the site being terribly slow right now, and timing out left and right. Header is a mess in IE7/Win64 on a 75mb FIOS connection, reloading page doesn’t make it better, left sticky social disappears then comes back, some social icons floating off right side in circles, etc. Likely first step is getting pages to fully load at all.

aedney
tagDiv Member

thanks Lucian – perfect 🙂

Andrew

Lucian
tagDiv Staff

Hi,

Please use this custom CSS, add it in Theme Panel > Custom CSS:

.td-header-style-1 .td-g-rec-id-header .adsbygoogle {
top: 5px !important;  
}

Thanks

Lucian
tagDiv Staff

Hi,

You can create a condition using this code http://pastebin.com/22cW0WGw in page-category-slider.php file like this: http://screencast.com/t/H4MO4rPf9qAh

Then add this Custom CSS in Theme Panel > Custom CSS:

.new_header {
margin-bottom: 21px;
}

You will get this result: http://screencast.com/t/dcvVhnKman

Hope this works.
Thanks

Viewing 25 results - 28,926 through 28,950 (of 29,850 total)