- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Hi,
It seems very difficult to adjust header height (I tried with Style 7 and Style 8). I used FireBug to locate the class or id, and use !important in CSS. But it seems it can partially change header height, resulting in inconsistency between container and menu texts.
If you can provide CSS code for adjusting height for header Style 7 and Style 8. It would be great.
Thanks,
Dao
I figured something out by making a header picture and adding logo as a layer on the side and made header background black and it works. The logo background is a Retina size and logo size and it worked but little short and gives a little extra space on the left and right but making the header background black you can’t tell the spaces.
I wanted to add an image behind the logo, but I do not see anything in the theme panel to add an image in the header. What do I need to do to make that work?
Fast Fact: Initial tests show Adpress works without a problem.
I have been using Adpress on our old site for years.
Adpress is not perfect, but it is a beast I know and it has yet to fail me so far. Plus the author is a cool cat.
We use Adpress simply. Only we the staff post ads, and all of our ads are images in our media library. We don’t do anything else but that.
We are upgrading our theme to NewsMag. We are doing testing on a dummy site with the demo and Adpress.
If my info is useful and you decide to buy Adpress, click on this affiliate link. Never used an affiliate link, so what the hell. Why not now.
http://codecanyon.net/item/adpress-wordpress-advertising-plugin/1510785?ref=GideonLupine
First I uploaded a 728×90 image to the Media Library.
Then I created a Adpress Campaign. Ad Type Image. Ads Number 20. Image Size 728×90. Clicks 10,000. Column Number 1. Price 0. Ad Rotation checked with Ads to Display 1.
This created a AdPress Campaign shortcode of
[adpress campaign=1]
Then I went to Ad Press Settings Image Ad. Deleted everything in both HTML Code and CSS Style. Then I entered in HTML code the following:
a href="@url" target="_blank" img src="@image_src" //a
I was wondering the best place to put “td-all-devices”, but I decided to make it flexible.
In NewsMag Theme panel Ads for Header Ad, I entered in the following:
<div class=”td-all-devices”>[adpress campaign=1]</div>`
I also just threw in the Adpress Campaign shortcode into a post.
Long story short. It worked both places and was responsive.
I will do some more testing and let you know how it goes.
-
This reply was modified 10 years by
GideonLupine.
-
This reply was modified 10 years by
GideonLupine.
-
This reply was modified 10 years by
GideonLupine.
Hi
Use this css: http://screencast.com/t/0yKCmLfmkWR4
@media (max-width: 767px){
.td-header-menu-wrap {
display: none!important;
}
}
Thanks!
am rezolvat problema 3 cu ajutorul solutiei 2 🙂
solutia 3 merge deasemenea
thx
inca o intrebare (dumb) – folosesc header style 1 si am bagat urmatorul cod pt logo mai mare:
@media (min-width: 1141px){
.td-header-style-1 .td-header-sp-logo {
margin: 28px 0px 9px 0px !important;
width: 340px !important;
padding: 0px !important;
}
.td-header-style-1 .td-header-sp-logo img {
right: auto !important;
}
}
am o reclama mai mica in header si as vrea sa o aliniez la dreapta. ce lipseste?
(http://psnews.ro/psn)
Hi,
Do refer to this error? Call to undefined function: get_header()
If you do please try this solution – https://ardamis.com/2011/06/02/fix-for-php-fatal-error-get_header-in-wordpress/
If this is not what you mean, please provide more details.
Thanks!
Hi,
Please make sure that you test this also without any plugin active except of Visual Composer, clear cache and see if you still have this issue as it may be caused by a plugin.
Also you can use this custom css in Theme Panel > Custom Css – http://screencast.com/t/iDRlblCnDJx0
.post header h1 {
color: #cc3d00 !important;
}
Thanks!
Hi,
Please use this custom css – http://screencast.com/t/ISsO24sPjd1v
@media (max-width: 767px) {
.td-header-top-menu-full {
display: block !important;
}
.td-header-sp-top-menu {
display: block!important;
}
.menu-top-container {
display: none !important;
}
.td-header-sp-top-widget {
display: none !important;
}
}
I will also add your suggestion for mobile menu on our list.
Thanks!
Hey Andrei,
I got AdRotate to work with the sidebar but is it possible to achieve that with the Header Ad as well?
Thanks,
Hi
Try this custom css:
@media (max-width: 767px){
.header-style-3 .td-logo img {
position: relative;
right: 0px;
top:0!important;
}
}
The result should be like here: http://screencast.com/t/aHxnJkY4Q
Thanks!
Thanks that did work but leaves me with another problem – all custom ads have a 44px bottom margin and since I want to use it as a superheader it looks weird to have a big white line above the top navigation.
I tried:
#td-a-rec-id-custom_ad_5 {
margin-bottom:0px !important;
}
As custom css but that didn’t work, do you have a solution?
Hi,
@Mr_S As the top bar was not designed to work on mobiles some of containers are also hidden, like in your case a css is to display the top bar(.td-header-top-menu-full) and the other one to show the menu(.td-header-top-menu-full .td-header-sp-top-menu). In case that you had also the social icons widget active(Thomas case) this container also will be visible(it doesn’t have css to hide it).
@Thomas Please try this custom css, this should display sign in and social icons widgets – http://screencast.com/t/jxljko5scU8T
@media (max-width: 767px){
.td-header-top-menu-full {
display: block !important;
}
.td-header-sp-top-menu {
display: block!important;
}
.menu-top-container {
display: none !important;
}
}
We will consider another implementation, at least for sign in widget.
Thanks!
http://0div.com:30/paper1/wp-content/uploads/2015/07/logo-header.png
Hi,
Please try this custom css in Theme Panel > Custom Css – http://screencast.com/t/GByc71a3EF
.logo-text-container .td-logo-text {
font-family: Tahoma;
}
.logo-text-container .td-tagline-text {
font-family: Tahoma;
}
Thanks!
Hello!In vk.com my site logo displays like an image in every post.(I use header style 12).When someone shares my post I want to display only post images ,not logo image.Here’s how it’a look like now:http://i11.pixs.ru/storage/9/5/2/Snimokekra_9302293_18474952.png (white logo in white background,that’s why logo is invisible)
Perhaps take a look at my sticky post top of the forum on how to optimize your site.
Also, test one of your POST pages, using GTMetrix.com as that will tell you explicitly what still needs to be fixed, such as image optimization, time to live (expiration headers), minify main CSS file, regen thunmbs to serve unscaled images, remove “?” variables, limit loading elements from external sites (e.g., gravatars), etc.
Hi guys,
I’m using the Header style 10 with a text logo, and I’m wondering how to change the font family from a serif font to Tahoma.
I’ve already found how to change the tagline text using CSS on the forum, but I can’t for the life of me, figure out how to change the font on the text logo.
Any suggestions?
—Tim
Hi,
@Mr_S Please use this custom css in Theme Panel > Custom Css, I have also customize a little your menu items to not drop down – http://screencast.com/t/U997mXqom
@media (max-width: 767px) {
.td-header-top-menu-full, .td-header-top-menu-full .td-header-sp-top-menu {
display: block !important;
}
.top-header-menu li a {
font-size: 12px !important;
margin-right: 5px;
}
}
@Thomas If you use this custom css the top-bar will be displayed also on mobile devices – http://screencast.com/t/p0m73r0br4 but it was not designed for this device so you will need additional customization or you can try to hide for example the menu – http://screencast.com/t/8EDkS2RE3
@media (max-width: 767px) {
.td-header-top-menu-full{
display: block !important;
}
}
Hope this helps!
Hi,
Do you want to add another ad in the header? You can use do_shortcode function and display a custom ad in the header style that you use, for example – http://screencast.com/t/nFe3UMxj – http://screencast.com/t/4tFMXITS
<div class="td-container">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
</div>
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
That is helpful thanks!
Another question:
I would like to add another ad I can change from the admin – per example add a Superheader Ad. Is that possible? And if yes which files do I need to edit?
Hi,
I could not recreate your issue, please check this without any plugins active(maybe a plugin cause this) except of Visual Composer, clear cache and see if you still have this issue. You header is always sticke and it should not be like that. On my side with header 7 enabled(and without top-menu) it looks like this – http://screencast.com/t/c1XfknUPl and when you scroll down the sticky menu is activated – http://screencast.com/t/9CbWjJxZzc
Thanks!
Hi,
Unfortunately the top menu was not designed for mobile device and it is hidden,we will try to find a better implementation for log in widget. yYou can use this custom css to display the sign in widget on mobile – http://screencast.com/t/KOuJW9GW
@media (max-width: 767px){
.td-header-top-menu-full {
display: block !important;
}
.td-header-sp-top-menu {
display: block!important;
}
.menu-top-container {
display: none !important;
}
.td-header-sp-top-widget {
display: none !important;
}
}
Thanks!!
Hi,
Here you can add the script in header.php the body tag is opened – http://screencast.com/t/KmL36LK6plIc and it is closed in the footer.php file – http://screencast.com/t/Tiu6tfoOE
You will have to edit the post template that you use(loop-single.php is default style and so on) – http://screencast.com/t/pXQuEHeUZv
Thanks!
Actually, I may use the header without the Top Bar, yet when I do so, the logo went completely tiny. Any fix for this?
Thanks,
I have already founded the source of this problem. The file “wp-head.php” was hacked. I deleted it and also deleted:
/** Outputs the WordPress header. */
require_once(ABSPATH . ‘wp-head.php’);
from “wp-confing.php”.