No search results were found in Documentation!
Well, the sidebar is easy to remove under “page template settings” on the editing screen.
As for the header and footer, there are a few ways you could do this. Here are two:
1. You could edit the respective template files in a child theme to check the page id and only include the relevant elements if it’s not your thank you page.
For example, once you set up and activate a child theme, you could edit the header file you’ve selected in your theme panel. Find this in your-child-theme/parts/header… .php, and add this line before the first div:
<?php if (!is_page('4994')) { ?>
and this at the very end:
<?php } ?>
Your landing page id is the number that comes up when you hover over the link to edit the page: http://www.screencast.com/t/ANsTxW7C
Then you would do the same to other files you want to remove (menu-top.php, footer.php), save, upload, and clear cache.
2. If you’re not comfortable with child themes or php, you could instead do it quickly through CSS:
.page-id-4994 .td-header-bg {
display: none !important;
}
And add any container classes that you want to hide, putting them where .td-header-bg is, e.g. .td-header-menu-wrap. You can find these using inspect element.
The CSS solution isn’t great because all the content will still be downloaded by the client’s browser, but it’s very easy.
3. Create a custom page template. WordPress checks for page templates in a hierarchy of importance, including the slug and the ID, so if you your page’s slug is /email-landing and you have a template named page-email-landing.php, or page-4994.php, and so on, WordPress will use that rather than the default one. Then you could edit that one to suit your needs. You could copy page.php from the parent theme’s folder as a starting point.
From what I’ve read, this is probably the most natural solution, but it would still need a child theme to survive theme updates, and to be honest I haven’t looked at enough custom template building yet to know what to advise you. For example, you can’t just remove the call to get_header() from page.php or you’ll lose a lot more than the logo div, etc.
Those are my two cents, coming from a relatively new learner of this sort of thing. If anyone has a better solution, feel free to mention it so I can learn too. đ
Perfect, thank you!
Hi,
Please send me your site’s URL, I need to inspect this so I can provide you a fix.
Or try to replace the css which centers the menu and use only this one:
#td-top-menu .sf-menu {
display: table;
float: none;
margin-left: auto;
margin-right: auto;
}
Should’n affect the menu on mobile: http://screencast.com/t/EOBRjXJzr4Y
Just center it on other screens: http://screencast.com/t/kTql787mh1ll
Thanks
Hi,
Add this css or just add the width: 150px !important; to the previsious custom css i gave you:
@media (max-width: 767px){
.mobile-logo-wrap img {
width: 150px !important;
}
}
Should solve it http://screencast.com/t/b9dHstBboWKQ
Thanks
-
This reply was modified 12 years by
Lucian.
@TheMediumUTM, thanks for the info. I don’t necessarily want to center the logo on mobile I just want to be able to use the logo I have set for mobile. @Lucian, I replaced the .sfmenu with your adjustment but seeing no new results. It is still being displayed behind the menu and using the desktop version of the logo.
Hi Lucian, thanks for that, the logo is within the navbar now, however, the logo is now squished a bit and looks distorted. How to prevent this?
Hi,
Thanks @TheMediumUTM, that’s right!!
@sbo
You would have to use a more specific selector, try using this id #td-top-mobile-toggle on mobile, like this:
@media (max-width: 767px) {
#td-top-mobile-toggle .sf-menu {
display: block;
float: left !important;
margin-left: 0px;
margin-right: 0px;
}
This way you will select only the mobile menu and the other will remain hidden like it should and you will be able to center the menu as you like but you will also have to center or work on the search icon also.
Thanks
The issue looks like the fact that you’re setting .sf-menu to display: block on screens smaller than 767px. The team has designed the two menus (desktop and mobile) to both exist on the page and just hide one or the other using display: none. (Not a great way to do it in terms of SEO but they say they’re working on it.) By setting sf-menu to display:block you’re forcing it to show on mobile too.
The actual mobile menu id is #td-mobile-nav â that’s the one that slides in on the side. The little toggle icon for it is td-top-mobile-toggle. Your CSS would want to affect one of those. But are you sure you want to centre the mobile menu as well? There isn’t much to centre. đ
Hey guys. I am using style 3 (full width logo + menu). I am also using custom CSS for centering the menu which you provided being:
.sf-menu {
display: table;
float: none !important;
margin-left: auto !important;
margin-right: auto !important;
}
/* responsive phone */
@media (max-width: 767px) {
.sf-menu {
display: block;
float: left !important;
margin-left: 0px;
margin-right: 0px;
}
I have a different logo for the desktop logo and mobile logo. The mobile logo is smaller. Now on mobile view, it is showing the desktop view logo. It is also hiding behind the transparent header of the mobile view.
What is the issue here?
Hi,
Thanks @Kronos17!
Please add the blog-stack class to the header-full-text-logo.php file like this http://screencast.com/t/Gxkltu5ST and also to the menu-header-center.php file like this: http://screencast.com/t/qmcWXumqV1O then you will be able to use the Blog style header from theme panel http://screencast.com/t/UEHkgXWTvYR3
You will also need to change from default color of the link/link hover/menu from here http://screencast.com/t/ElAft3m3
There seems to be an issue with the menu items when not setting a color from theme panel.
Thanks
Maybe there is a misunderstanding.
I want the look of the classic blog navigation menu. Logo and under (between 2 line) the menu items. http://snag.gy/FWIYp.jpg
What im getting: http://snag.gy/uZjEV.jpg
Thanks, but its not working for me. Its giving me the same style as any other and its moving my logo to the left side instead of middle.
I’m modifying my header template to move the ad around. I’ve got it working. But I want to make my logo return to its normal (centred) place if there’s no ad currently displaying. So I assume I can put a conditional around the ad div in my php.
My question is: what is the condition? I’m reading the line
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'header'));
and wondering is there something like
if (!empty(td_global_blocks::get_instance('td_ad_box')))...
?
Hi,
I have checked your site and I don’t think you have added the tag cloud widget right, that’s why the style doesn’t apply correctly, this is how it should look like: http://screencast.com/t/T5Q67GqH3tc
Please make sure you add the widget like this, using page builder: http://screencast.com/t/Xt7OTIhLq or like this if you add it from Appearance > Widgets in your sidebar http://screencast.com/t/g3vWxYZLSit0
Regarding the I have noticed that the logo doesn’t show up right on mobile also , please make sure you have uploaded the logo correctly from Theme Panel > Header, like this, and try again: http://screencast.com/t/SWrXem1O
If this dose not solve the issue please give us wp-access so we can check, provide the user and pass at contact@tagdiv.com, also send a link to this topic or specify this issue details.
Thanks
In Theme Panel – Header section, upload a logo image with smaller dimensions than what you have at present for Logo (Retina). That will solve all your issues đ
Just so you know, I’ve already tried the margin option on the theme options and nothing worked.
How to fix the logo on the mobile menu from being off-centered? See http://gadgism.com from mobile.
You could use custom CSS, in the theme panel, for the stroke. A quick “inspect element” check suggests that the logo area is td-menu-background. A stroke would be a border. In the blog-stack style I find this class actually has “border-top 1px solid #ebebeb” already. Just change or add that class to have a border-top of whatever colour, style, and thickness you want.
Adding stroke to top of Menu:
Is it possible to add a small stroke (line) to the top of the menu?
My logo area background and menu background are pretty similar colours and I think adding a small stroke to show where the divide is would really enhance the header area, is this possible?


Centre Aligning Menu:
I noticed that my menu links are slightly below centre

this may be because the height of the menu looks a bit big or the menu links themselves are just set below centre, I was wondering if it would be possible to either; reduce the height of the menu OR (preferably) align the menu links centrally?
Evenly Spacing out Menu Links:
One last quick thing,
is it possible to have the menu links spread out
thanks in advance!
(Sorry for listing but I figured it would be better than making multiple topics)
Hi,
Aperently there’s some styling problems in my page, the logo don’t appear as retina after the page is fully loaded and the tags in the sidebar aren’t correctly displayed.
Hi,
You can add a paragraph tag in the header style 3 template file like this: http://screencast.com/t/6KRFgy6myfs
You will get this result: http://screencast.com/t/ZrPjW6CM3
Use the class "custom_logo_text" to style the text as you like via css. You can change the class if you want you can name it as you like.
Here is the paragraph i used in the example:
<p class="custom_logo_text">This is my text along Logo<p>
Thanks
Hello Sit i am using Style 3 (Full Logo + Menu) and i want to display text with logo. how can i ?
yeah thank you for this btw…
p.e
<img width="300" height="100" class="td-retina-data" data-retina="http://cherrykoks.de/wp-content/uploads/2014/08/log600.jpg" src="http://cherrykoks.de/wp-content/uploads/2014/08/log300opt.jpg" alt="CK LOGO "
Did I do this right- by writhing the height directly after width?
The Queries:
well actually I added a code via plug “Code Snippets” like this:
function remove_cssjs_ver( $src ) {
if( strpos( $src, â?ver=â ) )
$src = remove_query_arg( âverâ, $src );
return $src;
}
add_filter( âstyle_loader_srcâ, âremove_cssjs_verâ, 10, 2 );
add_filter( âscript_loader_srcâ, âremove_cssjs_verâ, 10, 2 );
before I included this – I had this code inside functions.php
/** Remove Query strings from Static Resources. */
function _remove_script_version( $src ){
$parts = explode( â?â, $src );
return $parts[0];
}
add_filter( âscript_loader_srcâ, â_remove_script_versionâ, 15, 1 );
add_filter( âstyle_loader_srcâ, â_remove_script_versionâ, 15, 1 );
<?php
}
add_action(âprint_media_templatesâ, âtd_change_backbone_js_hookâ);
Should I use one of this or use a plugin?
Minify: yeah have seen had, but don’t know how to do (again: I’m no programmer and I don’t know css oder js )
my Cloudflare should originally do this (installed today- will take some time) Will this be enough? (or got an idea for dizzy blondes? đ
Will have to change all this on the weekend…sadly I like the slider, looks good, but if its causing all the problems … đ
-
This reply was modified 12 years by
Cherry. Reason: added
Hi,
I have tested vertical alignment to your logo on your site and semms that it’s not working. You can use each one of this two methods to move the logo down:
.header-logo-wrap img {
position: relative;
top: 25px;
}
or
.header-logo-wrap {
margin-top: 44px;
}
Thanks