Search Results for 'header'

Results from the Forum
Andrei L.
tagDiv Member

HI

Yes you can add ads there but to achieve that are required some customizations in theme’s core files. First you need to edit header.php file and add this code here: http://screencast.com/t/5MswRTB2vo9c then edit footer.php and add this code: http://screencast.com/t/sSroCgmdD

    <div class="left">
    <!--        ad'd code goes here-->
        <p> left ad</p>
    </div>

    <div class="right">
        <!--        ad'd code goes here-->
        <p> right ad</p>
    </div>

You will also need this css in theme panel > custom code > custom css: http://screencast.com/t/uMbRJkD8A6Fa

.left{
position: fixed;
top: 300px;
left: 60px;
}
.right{
position: fixed;
top: 300px;
right: 60px
}

Hope this helps.
Thanks!

Catalin
tagDiv Staff

Hi lethow,

Try the code below.

.error404 .td-a-rec-id-header_mob, .page .td-a-rec-id-header_mob {
display:none;
}

The result -> http://screencast.com/t/JvuYb4hovt

Thanks.

Bogdan B.
tagDiv Staff

Hi,

You can use this css to remove the padding top and bottom from the top menu:

.td-header-style-12 .td-header-sp-top-menu, .td-header-style-12 .td-header-sp-top-widget{
padding-top: 5px !important;
padding-bottom: 5px !important;
}

Thank you!

Catalin
tagDiv Staff

Hello maxlaxoc,

Unfortunately, our theme panel does not have such an option for it, sorry! You can do that only through code. You will have to use a bit of CSS code in order to achieve as you wish. Please refer to the following topic here -> https://forum.tagdiv.com/topic/background-photo-in-header/ Also, if you want to add another banner for each category, you will have to get the category ID for each category you will have to add this and add it to your custom CSS.
Please notice that is not a very simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thanks.

nairolf
Participant
#0

Hi,
On 26 July you release the 7.3 version.
It’s been two weeks since then and I see on different days that you have updated again and again the theme without change the version / changelog.

So, keep in mind that is impossible to know which is the latest version.
For the people they are using rules on htaccess like expires headers, your changes have no effect for users who have previously visited this version in their PCs/mobiles because css/js have the same query string.

¿Is so difficult for your developer to change a simple number on the changelog?

Andrei L.
tagDiv Member

HI

Try this css:

.single_template_6 .td-header-sp-logo {
background-color: red;
}

Let us know how it goes.
Thanks!

Andrei L.
tagDiv Member

HI

Try this css to add a background image for category header: http://screencast.com/t/1BS8KHd6ee

.td-category-header .td-container {
background-image: url("image-url");
}

Just add the image’s url in css and it should work fine.
Thanks!

Andrei L.
tagDiv Member

HI @isakmoller

Try this css to make the logo image a bit bigger: http://screencast.com/t/rdPnu7UNV

.td-header-sp-logo img {
width: 85%;
max-height: 110px;
}

Let me know how it goes.
Thanks!

Andrei L.
tagDiv Member

Hi

Use this code:

@media(max-width: 768px){
#td-header-menu{
display: none;
}
}

Thanks!

bzkl1886
tagDiv Member

Is there an easy work around to make Post Template 6 work the same way? I find that I’m running into the same problem where the featured image blocks out the background color of the header. If there’s something like the code you recommended before, ie:

.home .td-header-style-8 .td-header-sp-logo {
background-color: black;
}

…but for Post Template 6 that would be awesome. Thanks for creating a great theme.

BZKL

ntvweb
Participant
#0

Can I edit the background of the category headers?

example: http://dev.ntv.ca/category/programs/primetime/

patilabo
Participant
#0

Hello,

I would like to increase the size of the logo of my page:

I used the Newspaper theme with style 5 for the header.

Can you help me please ?

Thank you in advance for your help.

Scott
Participant
#0

I would like to have a different header image and ad for each category. Is there a way to do this within the theme panel?

BastianWeber
tagDiv Member

Hi Bodgan,

thanks for your reply and sorry for my late response.

I located the search part in the header-menu.php. Is it possible for you to show me in your second screenshot, how I would replace the icon with the default wp search element using the do_shortcode function? I’m not familiar with coding I’m afraid, and I wouldn’t know what to do.

Also: Isn’t it also possible to simply use the code from the actual search bar from the newspaper theme somehow and replace it with the icon so we just get rid of the step “clicking the icon” ?

Thank you so much.

P.S. the website is http://www.bastian-weber.com (in case it helps)

kenan83
tagDiv Member

I have found now a code under “custom ad 1” That I did not put there, and have replaced it with my adsence code. But on the Header ad, Sidebar ad, Articel top ad, Articel inline ad and Article bottom ad I have had my code, but nothing happens in my theme, and no ads show in article.

Lewis
tagDiv Member

thanks man

any chance to hide the while header on mobile?

  • This reply was modified 10 years by Lewis.
lethow
Participant
#0

How to move the top header ad below the menu on mobile?

https://s9.postimg.org/702z170nz/image_1.png

lethow
tagDiv Member

please see the ads are showing on desktop, header top, article top and article below but not coming on mobile and nothing is disable from backend….please advice how i can share the details so that you only can access.

lethow
tagDiv Member

I want to show the google ads on post only but not on the pages & 404 error….also not want to redirect….

In the old them what we do…we usually create an header-noADS files & footer-noADS files which are identical as footer.php and header.php and then we define in page.php & 404.php to stop showing ads on pages & 404 pages….

but i want to know if mobile theme is activated then we have to do it in mobile folder also..??

lethow
Participant
#0

We had added the adsense code in header on desktop and tablet it is working fine, we had notice that for screen width less then 768, Ad unit height is maximum 50px but as per gogole policy up to 100px is allowed above the fold.

if ( td_screen_width < 768 ) {
/* Phones */
document.write(‘<ins class=”adsbygoogle” style=”display:inline-block;width:320px;height:50px”

Also, we are trying to use the media.net ads which allows up to 250 height on top…Please advice how to increase height up to 100px if we use gogole adsense …..

and how to change height to 250px if we use media.net

lethow
Participant
#0

On Mobile, when we are going down then menu is not sticky but when we are going up it is sticky. We know that its called smart scroll but we want sticky both the times.

https://s9.postimg.org/3qejz6yhb/Image_3.png

Also, please advice how to change black background to white at header and footer as marked in above screen shot.

On Desktop, Menu is not sticky at both time, we want sticky for both times on desktop also.

Andrei L.
tagDiv Member

Hi

Try this css:
@media(max-width: 768px){
.td-header-main-menu{
background-color: green;
}
}

Thanks!

Lewis
Participant
#0

Hello

can i change header color? because i don’t want use logo on mobile,

http://www.screencast.com/t/TYFlgWqS

please help

aberniz
Participant
#0

Hi, I’ve been able to add the Linkedin button on the header of my posts, and now I want to add it also in the post bottom Share buttons.

https://projectmanagers.org/pressures-project-manager/

I only need to know in which file are these bottom Share buttons?

flor_zaccagnino
Participant
#0

Hello there!

I want to add Google Adsense to my web and I did all the documentation said: I have create my account and put the code on the AdBox (on the theme panel)… then I put the Adbox’ widget on the sidebar but is not showing.

Should I put the Google Adsense code anywhere else? Like on the header?

Please advise.

The web is https://viajeydescubra.com

Thanks,
Flor

Viewing 25 results - 23,401 through 23,425 (of 29,850 total)