- 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,
You will need custom modifications to the code as the above css set a fixed width to the container so the background color will not be full width.
Please make a backup of your current file and try to replace the content of header-style-8.php file with this – http://pastebin.com/SjY7yrCn
Remove the first css code that I provided to you and use this custom css to add a full background and place the logo to the left: http://screencast.com/t/VtGllUzS
.full-bg {
background-color: red;
}
.td-header-style-8 .td-header-sp-logo img {
margin-left: 0;
}
Thanks!
Hi,
Yes, you can display it using custom css as the top menu was not designed for mobile devices that’s why is hidden.
You can add this custom css to display it also on mobiles but you may need some additional customizations for menu items that may drop on more rows – http://screencast.com/t/rHnQKiUT
.td-header-menu-wrap {
display: block !important;
}
A solution will be to hide some top menu elements(if you want only menu to be visible) using media queries – http://screencast.com/t/E7jiGxvPO6Co – this is an example
@media (max-width: 767px){
.td-header-menu-wrap {
display: block !important;
}
.td-header-menu-wrap .td_data_time, .td-header-menu-wrap .td-social-wrap, .td_ul_login {
display: none;
}
}
Thanks!
Hi,
Please make this change in menu-top.php: http://screencast.com/t/8qh24anQ
And use this custom css in Theme Panel > Custom Css: http://screencast.com/t/YUGnv4co
.td-header-menu-wrap .td_data_time {
float: right;
}
.menu-top-container {
float: right;
}
Thanks!
This is my htaccess code
=================================================
# ———————————————————————-
# CORS-enabled images (@crossorigin)
# ———————————————————————-
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# ———————————————————————-
# Webfont access
# ———————————————————————-
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like “subdomain.example.com”.
<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff?|font.css|css)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
RewriteEngine on
# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType text/x-component .htc
AddType application/x-javascript .js
AddType application/javascript .js2
AddType text/javascript .js3
AddType text/x-js .js4
AddType text/html .html .htm
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/vnd.ms-fontobject .eot
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/json .json
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/x-font-otf .otf
AddType application/vnd.ms-opentype .otf
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType application/x-font-ttf .ttf .ttc
AddType application/vnd.ms-opentype .ttf .ttc
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/font-woff .woff
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
ExpiresByType text/x-component A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType application/javascript A31536000
ExpiresByType text/javascript A31536000
ExpiresByType text/x-js A31536000
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/vnd.ms-fontobject A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType application/json A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/x-font-otf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType image/svg+xml A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType application/x-font-ttf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/font-woff A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<FilesMatch “\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$”>
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.4.1”
</IfModule>
</FilesMatch>
<FilesMatch “\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$”>
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.4.1”
</IfModule>
</FilesMatch>
<FilesMatch “\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|woff|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|WOFF|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.4.1″
</IfModule>
</FilesMatch>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* – [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* – [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” [L]
</IfModule>
# END W3TC Page Cache core
# 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>
# END WordPress
RewriteCond %{HTTP_HOST} ^topfivebuzz\.mayanz\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.topfivebuzz\.mayanz\.com$
RewriteRule ^/?$ “http\:\/\/www\.topfivebuzz\.com” [R=301,L]
Options -Indexes
====================================================
Hi Guys.
I modified my .htaccess and since I did i can’t saw the images of the heads of the post. My web: http://www.publicidaenlanube.es
Please, i don’t know this problem for solution.
My .htaccess:
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 2500000 seconds”
ExpiresByType image/jpeg “access plus 2500000 seconds”
ExpiresByType image/png “access plus 2500000 seconds”
ExpiresByType image/gif “access plus 2500000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2500000 seconds”
ExpiresByType text/css “access plus 700000 seconds”
ExpiresByType text/javascript “access plus 700000 seconds”
ExpiresByType application/javascript “access plus 700000 seconds”
ExpiresByType application/x-javascript “access plus 700000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
ExpiresByType font/truetype “access plus 2500000 seconds”
ExpiresByType font/opentype “access plus 2500000 seconds”
ExpiresByType application/x-font-woff “access plus 2500000 seconds”
ExpiresByType image/svg+xml “access plus 2500000 seconds”
ExpiresByType application/vnd.ms-fontobject “access plus 2500000 seconds”
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch “\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(css)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(js)$”>
Header set Cache-Control “private”
</filesMatch>
<filesMatch “\.(x?html?|php)$”>
Header set Cache-Control “private, must-revalidate”
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
I need help for this problem.
Thanks
A little more info: Turns out, the Product Features box I’m looking for seems to just be the Icon box, with a section for text after it. Probably styled with a header tag or class so it’s formatted nicely. Maybe that’s something the Creativo guys cooked up. It’s not part of what comes in with WooCommerce.
As far as the sidebar cutting thing goes, I’m still working on it. It does seem to stem from trying to cram in too many columns in VisualComposer, but there’s still formatting issues past the first row. I’ll try to come up with a repeatable and easier to demonstrate example later today.
Hi,
You can use this custom css in Theme Panel > Custom Css to hide it: http://screencast.com/t/6SOinVNEzOX
.top-header-menu {
display: none;
}
Or if you want to remove the text you can find it in menu-top.php – http://screencast.com/t/VII9KLhy
Thanks!
Hi,
2. Your image width must be at least 745x483 – http://screencast.com/t/Ohpp7LDCNPwx to fill the whole container. If your featured image is smaller, please note that WordPress doesn’t enlarge images and you will need to use plugin like Thumbnail Upscale to enlarge thumbnails: https://wordpress.org/plugins/thumbnail-upscale/ For upscale use a combination of plugins Thumbnail Upscale + Force Regenerate.
Or you can enlarge it via custom css in Theme Panel > Custom Css: http://screencast.com/t/IirORJvZT
.td_block_big_grid .td-big-grid-post-0 .entry-thumb {
width: 100%;
}
3. You have to set your sidebar(create and set it/or use default) for articles – http://screencast.com/t/uc2GFE896yX and add widgets to it from the Widgets section – http://screencast.com/t/2IeVvKc5
Also for your pages you can use Widgetised Sidebar for your page content – http://screencast.com/t/2f7bKm2Dsh and for latest articles you can set the sidebar – http://screencast.com/t/iP3xaAkR
4. I have checked your homepage and you have an header ad and a sidebar ad. You can use Ad box block to display an ad in your page content: http://screencast.com/t/e6XneHoo0su
Also for your post you have to paste your code in Theme Panel > Ads – http://screencast.com/t/Nlgv9TjDNTAL and they should be displayed in the article content.
5. I also checked an articles from your site and the comment box is enabled – http://screencast.com/t/uzredDWbppt
Seems that you solved the issue – http://screencast.com/t/za78u9vbArQ
Thanks!
Hi,
I,ve try the custom css and it works but I also need that the header color is full width.
About blocks I’ve settled the Visual Composer and now it works. great!
Thanks
Marco Sutter
Hi,
Try this custom css in Theme Panel > Custom Css: http://screencast.com/t/Igm6OGAQ
.td-header-style-8 .td-header-header {
width: 1021px !important;
margin: 0 auto;
}
.td-header-style-8 .td-header-sp-logo img {
float: left;
}
Please provide more details about your issue with blocks. What do you mean with “I can’t find them”? You don’t see any block there?
Like I said above please make sure that all block are visible from Visual Composer settings – http://screencast.com/t/qZyOGfvrT
Let me know!
Thanks!
Hi,
You can add your javascript code in header.php file after the body tag – http://screencast.com/t/nOkr8s8u6V
Thanks!
Hi,
1. Please provide your site url so I can inspect this. In header style 8 logo should be centered – http://screencast.com/t/fteYsnPvjC
2. Unfortunately theme doesn’t have an option to rotate ads but you can try a plugin for this.
3. Please make sure that you have enabled all shortcodes from Visual Composer settings – http://screencast.com/t/qZyOGfvrT
Thanks!
Hi,
Please see image:
How do I decrease the space under that header.
Link to article:
http://unitrending.co.uk/article/this-girls-fights-back-at-the-man-who-killed-her-brother
Thanks
Hi…
I have a huge problem now with the Smart snap – (mobile) option in header.
Correct me if I am wrong… Smart snap – (mobile) option is used to show the sticky navigation header menu only if the user scrolls the page up… and it is only supposed to work for Mobile devices.
In my case when I activate the Smart snap – (mobile) option, the navigation hides on desktop/laptop as well which i fell it should function in that way? Right??
I tested the site on Mac as well as windows on (Chrome and Mozilla) browsers and faced the same issue.
Apart from that…
If i am installing any plugin which is supposed to work only on responsive layout such as social sharing plugins sometimes it automatically starts to work on desktop/laptop.
I tried few different plugins and i had the same issues with them.
this is my website URL http://www.magscroll.com
I really to fix the issue asap… I will appreciate your help.
TQ!
Hi.
I need to switch header ad depending on it’s a page or a single. I have looked in header and single, but couldn’t find the code that sets the ad. Any ideas where to look?
Hi!
I am very stupid.
But I have the problem too.
Please show the line (function) in the style.css to change the background color of the main menu header.
Thank you!
P.S. I do not speak English very well, sorry
Hi, is there a fairly simple way for me to combine the “full width” aspect of the top bar and menu bar from style 8, but keep the logo + ad from default style 1 ?
e.g.
===========================
[logo] [ad ....]
===========================
?
Hola!
Necesito poder customizar la publicidad que aparece en el “header” de esta plantilla, es decir, quiero que sea diferente esta publicidad que se muestra en la página principal que la que se ve dentro de los post – categorías, incluso que vaya cambiando dependiendo de la categoría.
Estoy utilizando un plugin para poder introducir funciones y utilizar php para realizarlo y me funciona, pero quería saber como poderlo hacer sin necesidad de plugins.
Gracias por la ayuda!
1) choose header option without the banner
2) don’t put any ad banner element in the ad box for header
3) clear your caches
Best place to do that is actually in the header.php file
Hi,
I have a few questions…
1. I want to create a full header Logo + a full menu (style 8) BUT with my logo on the left. Please help me!
2. How can I insert Ad banners with rotations effects? and is possible to insert an expiration date (automatically) for the banner/s?
3. If I want to customize a page with Blocks (1,2,3..etc), big Grid, Ad box…where I can fin them in Visual composer?? If I open the “ADD ELEMENT” I can’t find them…!!!
Thanks
Marco Sutter
I don’t want to appear that ad banner on top of my website. How can I delete this? I have delete code and turned to disable adsense option but it’s not workin’.
Hello,
I’m using these Google AdSense codes:
for the header:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Securerr Header 728x90 -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-1013647795269076"
data-ad-slot="7562654941"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
for the sidebar:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Securerr Sidebar 300x250 -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-1013647795269076"
data-ad-slot="9039388142"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Is it okay? Cause I pasted them now on the site and there’s nothing showing. Can you help me?
Thanks.
Hi,
You can change also top menu font and color – http://screencast.com/t/FwPGVWFn
Also the top social icons color by default is black – http://screencast.com/t/f3cB1gLv7 but depends on which header style you use for example the default color in header style 3: http://screencast.com/t/gcLhB8v8x
Thanks!