Search Results for 'header'

Results from the Forum
Syams
tagDiv Member

No, not at the header. But on middle of homepage

http://s23.postimg.org/41v0af63f/screenshot_269.png

Simion C.
tagDiv Staff

Hi,

To achieve that you must edit the header-style-12.php file located in the theme folder->parts->header and comment or remove these lines of code that are responsible with the header ad for that header style – https://www.screencast.com/t/PPSz68aU

Thanks

Mark
tagDiv Member

Hi again,

After some tries, I have the ‘inspect’ code showing that the image is 728×90. The div class container shows that it’s set for 300×94, and it looks like this is what is cutting off the image.

All of the settings in theme panel for the header are set to auto. I have tried to set them to 728×90, but it had no effect. Is there a way for me to change the div class container?

Your help is greatly appreciated.

Mark

Bogdan B.
tagDiv Staff

The head tag can be found as Chris said above, in header.php found in the root directory of the theme here: https://www.screencast.com/t/HrrriTjYdm

Thank you!

sharma_sharma
tagDiv Member

The code in my htacces file looks like this, but It has not resolved the issue. P.S. I copied the code from stackexchange, not from here. Please help…

<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “*”

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Catalin
tagDiv Staff

Hello Moysh,

You should use a bit of CSS code to do this. Try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td-header-rec-wrap{
display:none;
}
.home .td-header-rec-wrap{
display:block;
}

Thanks for the message!

hgx
tagDiv Member

Hello Bogdan
Thank you very much! I would like to use a demo template and have header in header style predefined headers to choose from.
Can I then also create an own menu? Or can I use a pre-set? I want not replace it completely?

I would like to use the demo but also in addition to link to external subdirectorie sites. The demo template is to be used on each page individually. So then the demo version does not fix me?

l.G.

Catalin
tagDiv Staff

Hello Bourbon Trapper,

Please keep in mind that our theme does not have any such an option that allows you to add a background for your header section, sorry! If you want to add the background in that section, you should use a bit of CSS code to do that, as background-image which have to be applied to the header container. I saw that your website is a maintenance mode and that’s why I cannot access it.
Notice that below I gave you an example of what you can add some background to your header section.

.td-header-header{
background-image: url(http://demo.tagdiv.com/newspaper/wp-content/uploads/2016/05/login-mod.jpg);
background-size:100% 100%;
background-repeat: no-repeat;
}

The result is here -> https://www.screencast.com/t/pjj4efICJR

Thanks for your understanding!

Simion C.
tagDiv Staff

Hi,

Try checking in Theme panel header ad section and see if a size is set for the header ad – https://www.screencast.com/t/zcubAOAeh5X limiting it, as I see that the banner ad image is of a larger size – https://www.screencast.com/t/XonOXG7Yu and it’s being limited to a smaller size –

Thanks

Catalin
tagDiv Staff

Hello jimvanwyck,

If you want to add that code in this section, you should edit the header.php core file like this -> https://www.screencast.com/t/KRrwpmtt

Thanks for the message!

heathcliff
Participant
#0

Is there a way to hide ad in header (header style 12) on all pages?

simchris
tagDiv Member

head is generally in the header.php file.

moffy47
Participant
#0

Ma’am/Sir,

I am working on a test site and I want to achieve a header height like this one on your showcase page: https://galacticbrain.com/ I want to have the same header height and main menu height like that. Furthermore, can you please tell me how can I add a bottom borderline below each post in the list (i am using module 11) like the one in the URL I’ve provided.Thank you so much! More power.

Regards,

moffy47

simchris
tagDiv Member

Funny — somebody else asked me about this the other day.

I think the trick — have not yet tried this —

a) generate critical CSS for post, critical CSS for home

b) combine into one CSS file

c) run CSS minifier to remove duplication

d) end up with one CSS block; adds some extra stuff to posts, but then you don’t get flash of unstyled text on home page, most notably for the slider (noticed this on one of our sites the other day … actually….).

Seems safest way to do that, but have not actually done it for Newsmag 3.1 just yet.

Pondering having two headers
a) for home/categories
b) for posts

but then that adds another if/then query to every page, which is bad for posts, where speed of posts is more critical than speed of cat/tag/archive pages.

So, combining then de-duping through minification seems logical solution.

Sorry for those of you just tuning in, probably waaaaay over your head — but hope this helps those who are already testing out critical CSS inclusion and moving style sheets to footer methods.

OH – one other issue we ran into is that with only doing the post critical CSS, it actually breaks the links on the grid images on the category indexes due to an apparent conflict with the little zoom effect on hover.

So, looks like the combining/minification is best solution. Doh. More on my to do list, darn it!!! 🙂

Bourbon Trapper
Participant
#0

I tried to put a background image behind the logo. Went to Backround,then Mobile menu/search backround and uploaded a background image. When I load page it is stil just my logo in the header with a white background.

Any help?

orlando
tagDiv Member

Hi Chris,

how do I use CSS above the fold in the header.php but for home, post, category, etc. ..??

thanks for your suggestions

pstgibson
tagDiv Member

I have applied your instruction but did not succeed.
It only worked with this:
Header add Access-Control-Allow-Origin “http://warrimarket.com&#8221;

But did not work with either lines hereunder:
Header add Access-Control-Allow-Origin “http://www.warrimarket.com&#8221;
and
Header add Access-Control-Allow-Origin “//www.warrimarket.com”

See full code hereunder:

Header add Access-Control-Allow-Origin “http://warrimarket.com&#8221;
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

#RewriteEngine On
#RewriteCond !{HTTPS} off
#RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# END WordPress

What should do next?

Lastly, where should I clear the cache, and also reset the cdn?

Thanks.

Mark
Participant
#0

Hi.

I have the following code in the header ad space and it’s not centered, cut off. Could you advise about how to get it to display correctly?

<div class=”td-all-devices”>
<iframe src=”//runcpa.com/rotator/6d51478c8a” frameborder=”0″ style=”overflow: hidden;” scrolling=”no”></iframe>
</div>

bitcoinwarrior.net

LaurennePierrick
Participant
#0

Hi there,

Photos in my last post aren’t displaying on mobile while they are on desktop.
http://www.traveleaters.com/road-trip-dans-le-northland-5-immanquables-voir-faire/

Same goes for my header menu logo which was previously showing.

All previous posts pictures are displaying correctly, this only concerns my last post and header menu logo.

Thank you,

simchris
tagDiv Member

Just my two cents being a dinosaur around here:
(Sidebar: Matt Cutts no longer works at Google, as FYI, and has actually been on leave for couple of years.)

Actually more than one H1 tag is allowable as it’s only a semantic guideline. So inside a <header> section of markup you can have an H1 tag related to the “header” of a web document. Then within the <article> section of your content you can have an H1 tag for the page content/text.

For “SEO” Google actually “combines” your “title tag” with your H1 tag inside the <article> section(s) to determine the most appropriate “title element” for your specific page. They actually ignore the H1 on the logo as an alt/fallback in relation to the article/main content section; only used for semantic “importance” vs other brands/titles/names on the page contextually.

So, per Google your meta “title” and main H1 “title” on the page should be the same, roughly, and ideally your permalink structure should have the main words from that same page title.

Still, some folks get bee in their bonnet about semantic markup, screen readers, compliance issues, and general usability (UX) matters. If you don’t know what the <header> and <article> sections do in modern markup, you probably need to look into that.

Or, simply remove the H1 markup for the <header> for this and other themes you may use, if it really truly bothers you. It’s not going to ruin your placement in SERPS, put another way. Original content is still more important than this issue, the way Google looks at things.

It has not hurt our SERPS the past many years one wit. But we originate all our content and don’t copy/paste from other sources.

# — Chris.

maxishere
Participant
#0

Hello,

How can I disable (and preferably remove) Google Fonts from the Newspaper theme?

We don’t use them, but they are being loaded in the header of every page.

Thank you,

Max

kingryad
Participant
#0

I selected style 10 header, I uploaded the logo in 272x90px (as stated in theme panel) but I can’t see my logo in my website, only the “Newspaper” text, what’s the problem ?

Simion C.
tagDiv Staff

Hi,

From what I can tell you have only a background color set on the header menu on mobile devices – https://www.screencast.com/t/7RrtteGgZ7Q8 so if you want to have that background image on mobile you must set it there – https://www.screencast.com/t/7kuCIvrz Unfortunately there is a delay between the application of the custom style changes, you could try to enter these customizations directly in the theme’s css file to reduce or even remove it.

Thanks

gos_ant
tagDiv Member

I do not need to register to all headers H1. Only one. So I use a forced style. A mandatory style looks like a header â„–1. And I need to be heading, where I prescribe compulsory H1 looks like â„–4 header.

http://prnt.sc/e9flnv

Berbi
Participant
#0

Hi there,

I am in an urgent need of understanding why my trafic droped by more than 50% after moving some style code.

Here is the story : the initial designers had put all custom styles in the Newsmag folder, obliging me to a lots of work when Tagdiv was releasing a theme update.

I therefore asked a developper to move all custom style code from the Newsmag folder to Newsmag Child, wich required to change some code in the header. The changes went on live at the end of january, and suddenly my trafic droped from 5th february on.

So I am trying to understand what happenned, in oder to get back on the track.

And my questions are :

1- do you have any known issue on SEO ranking after moving custom style code from Newsmag to Newsmag Child ?

2- according to your experience, can you name wich mistake could upset google after the moving of a style code ?

Thanks in advanced, and my appologies if the questions are nonsense :), I am just trying to find a lead to get my trafic back.

Viewing 25 results - 21,701 through 21,725 (of 29,850 total)