Search Results for 'header'

Results from the Forum
quitifua6
tagDiv Member

Thanks for your reply,
Done I Did, that didn’t fix the problem

Lucian
tagDiv Staff

Hi,

Also, please follow this guide, last part, “How to make responsive text/flash or image ads” https://forum.tagdiv.com/ads/
Here you have an example of an header ad:

<div class="td-visible-desktop">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-728.jpg" /></a>
</div>

<div class="td-visible-tablet-l">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-468.jpg" /></a>
</div>

<div class="td-visible-tablet-tp">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-468.jpg" /></a>
</div>

<div class="td-visible-phone">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-300.jpg" /></a>
</div>

Hope this helps
Thanks

Lucian
tagDiv Staff

Hi,

Please try this custom CSS, add it in Theme Panel -> Custom CSS

.td_ul_login, .td_ul_logout {
display: none;
}   

@media (max-width: 767px) {
.td-header-menu-wrap, .td_ul_login,
.td_ul_logout {
display: inline !important;
text-align: right;
}

.td-header-menu-wrap .span9 {
display: none !important;
}

.td-header-menu-wrap .span3 {
background-color: #4b4b4b;
height: 26px;
}

.td_ul_login,
.td_ul_logout {
margin: 0 8px 0 0 !important;
}
}

Hope this works
Thanks

Lucian
tagDiv Staff

Replied here

Thanks

Lucian
tagDiv Staff

Replied here

Thanks

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

Hi,

Please try this. Make a backup of your .htaccess file then delete it from the server. After deleting .htaccess file, firstly visit your website URL then try to access the link with the error and see if works.

Hope it works!
Thanks

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

Ah. Makes sense on subdirectory

If you click on one of the 404s in Google webmaster tools does it say WHERE the soft 404s are being linked FROM ?.

If pages on your site, you may want to go to one of those pages and look at the META data at header and footer and see if anything is linking into that folder with wrong URL.

If you’re using child theme, make sure you have any referential links consistently with a trailing slash.

Alternately, you could use Yoast SEO and activate the “enforce trailing slash” which will force a trailing slash on everything and redirect anything which is missing it. Might be simplest fix for you, if you exhaust everything else.

Lucian
tagDiv Staff

Hi,

You can change it manually from header.php file like this: http://screencast.com/t/mKvnznEPb

Thanks

Lucian
tagDiv Staff

Hi,

Try adding the code directly in file, where you want the ad to be displayed for example if you want on header edit here: http://screencast.com/t/lGs4ZXrR5

Hope this help!
Thanks!

quitifua6
tagDiv Member

Thanks Lucian,

I disable esch plugin one by one and no luck.
This guy right here https://forum.tagdiv.com/topic/php-fatal-errors/
I try going to his link and he was albe to fix it, I don’t see any errors just a blank page. And also how do I .htaccess block access to that folder

Lucian
tagDiv Staff

Hi,

You have to move the code for social sharing buttons inside loop-single.php file like this: http://screencast.com/t/Wtzfm7yJ
Then move the tweet, like and g+ buttons code inside the same loop-single.php file like this: http://screencast.com/t/TIX5pK3e

And this CSS in Theme Panel -> Custom CSS:

.post .td-social-like-tweet {
margin-bottom: 15px !important;
}

.td-social-like-tweet ul {
margin-top: 0px;
}

.post header {
margin-bottom: 5px;
}

Hope this works
Thanks

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

Hi,

What i’m curious is why do you have access there in the theme folder. I think you need to add a rule in .htaccess to block access to that folder.

If you go on our demo using the same link like yours to the theme folder – will redirect see here: demo.tagdiv.com/newspaper/wp-content/themes/Newspaper/

Or can you disable all plugins or one by one and see if works.

Thanks!

quitifua6
Participant
#0

How do i fix this fatal error–> lacoquillita.com/v3/wp-content/themes/Newspaper
thanks

Lucian
tagDiv Staff

Hi,

Here you have an example on how to add the ad banner on the category page and index page: https://forum.tagdiv.com/topic/adsense-below-header-on-homepage/#post-15013

Just follow these steps and do the same for the template you want the ad to display

It looks something like this on Homepage-blank Template http://screencast.com/t/yXKDHWFsd

Thanks

cybergetro
tagDiv Member

YEAH! Works perfect, ocbln.

Thanks for your help.

ocbln
tagDiv Member

Sorry, cybergetro. You have to write SAM in small characters. So, the code is
[sam id=5 codes=false]
(if your advertising id is 5 !!). And yes, the ID ist the number of the Ads place.

the fizz
tagDiv Member

Hi guys
We are now using Newspaper 3.9.1 and wanted to move the header banner out of the header file and into the page content.
see – http://www.screencast.com/t/knaHTWJTmY
We have successfully removed this from the header file just wanted to ensure we have the correct coding for placing in post/page/category pages.

thanks

cybergetro
tagDiv Member

Hi ocbln,

Thnaks for your tip, but… unfortunately didn’t work: http://www.screencast.com/t/pLZWRuna1NKQ

The SAM works with ADS places. Does the number ID corresponds to an ADS place?

dhvanesh
tagDiv Member

It works just perfect

Thanks a lot… 🙂

Lucian
tagDiv Staff

Can be done via CSS, here is a quick test

.entry-title a,
.td-post-text-content,
.widget a,
.extend,
.pages,
li,
h1,
h2,
h3,
h4,
p,
a,
.next-prev,
textarea
{
color: white !important;
}

body,
.container,
.extend,
.pages,
.td-tags-and-social-wrapper-box,
.author-box-wrap,
.td-header-bg,
textarea
{
background-color: #000000  !important;
}

.author-box-wrap,
.td-tags-and-social-wrapper-box,
textarea  {
border-color: #222222;
}

Thanks!

Buggin
Participant
#0

Hi,

I’ve change my header background image to full width, I’ve change the page background in style.css, but I don’t find how to change the background color of the website (behind the menu and above the footer). Can you help me with a little css code to allow this (I know that it’s not possible to have a full width website if we change this color directly in the theme panel)…

Thanks a lot !

Lucian
tagDiv Staff

Thanks @ocbln for your help.

Lucian
tagDiv Staff

Hi,

Add your Adsense code to Custom Ad 1 and then add this code: http://pastebin.com/NdhJZPzd to category.php file like this: http://screencast.com/t/lEldbqcA

For Homepage add the same code to index.php file like this: http://screencast.com/t/co4lWoWfr9W

To center it add this custom CSS in Theme Panel -> Custom CSS:

.top-ad .td-g-rec {
margin-left: auto;
margin-right: auto;
display: table;
}

Thanks

ocbln
tagDiv Member

Hi cybergetro,
insert on Theme panel -> Your Header Ad the SAM-Shortcode, e.g.
[SAM id=5 codes=false]
if your Advertising ID is 5. That’s all.

  • This reply was modified 12 years by ocbln.
cybergetro
Participant
#0

Hi guys,

I’m experiencing Simple ADS Manager in my website. Everything works fine, but I don’t know how to insert an “ADS Place” on Header.

I already read the tips on https://forum.tagdiv.com/ads/, but I have no success.

What code I must insert on “Your Header AD” at Theme Panel to SAM works in that place?

Viewing 25 results - 28,976 through 29,000 (of 29,850 total)