Search Results for 'header'

Results from the Forum
great1212
Participant
#0

Dear, I want to install the PHPBB forum model in my website PAKDEFENSE.COM. Is there any way that I can merge the PHPBB in my website theme’s header and footer?

gabriel79
tagDiv Member

Hi Simion,

This is my site: http://cambiovita360.it/

I have customized the main menu by editing the following 3 CSS classes:


.sf-menu > li > a { /* I reduce the padding in the menu to avoid problems with the stickcy logo */
padding: 0 10px 0 10px;
}
.td-header-wrap .td-affix .td-main-menu-logo img { /* I reduce the padding in the sticky logo */
margin: 0 6px 0 10px;
}
.sf-menu ul .td-menu-item > a:hover { /* GB Hover in the sub menu */
background-color: #eeeeee;
}

Please I did the right thing?

Thanks so much!
Gabriel

stuartmasson
Participant
#0

Hi guys,

I have been working on a sandbox site, and when I updated it from PHP 5.6 to PHP 7.0, my pages went blank. Posts still visible as normal.

Reinstalled latest version of theme from Themeforest, deleted/reinstalled all TD plugins and deactivated everything else.

Have traced issue to the TD multi-purpose plugin. Currently running only TD composer, which displays many errors on the page from multi-purpose elements not working.
I get three “wp_booster error” warnings above the header and several errors in the page itself.

When I activate the multi-purpose plugin, everything goes blank apart from the header and main menu.

If I try to edit the page using TD composer, I get the following error:
Errors happened during tdcIframeData.init() -> bindViewsModelsWrappers()!

Have deleted browser caches, been checking from different computers, logged in and logged out, makes no difference. Site is not connected to a CDN and not running any caching programme.

Site homepage is: http://compareallvans.co.uk/
Example of working post is: http://compareallvans.co.uk/volvo-xc40-review/

If I revert to PHP 5.6, everything returns to normal and looks fine.

Do you have any suggestions, or is this a bug?

fedecorreo
Participant
#0

Hi! How can I disable or hide the header banner (not the menu bar) on single posts?

Thanks!

jen2franne
tagDiv Member

Thanks for these tips – including the video background – I had the same questions when I saw the new full width header demos. Thrilled to give this a try on one of my sites.

phil_ilo
Participant
#0

I’d like my top menu to be 1400px when on desktop, but if all menu buttons don’t fit on one row to shrink the font size or padding to fit correctly. I used this code, however it forced a 1400px header on all device sizes.


.td-container, .tdc-row {
width: 1400px;
margin-right: auto;
margin-left: auto;
}

bellendir
tagDiv Member

Добрый день, Simion. С узкими размерами изображений в top grid разобрался. Нашел, где можно не 3 фото top grid, а сколько угодно поставить /Newspaper/mobile/includes/shortcodes/td_module_mob_1.php. Там можно поставить лимит top grid.
Вопрос другой теперь.
Можно ли отдельно в мобильной теме править заголовки в CSS.? И как уменьшить размер логотипа в footer в мобильной теме?
Спасибо за внимание. И за ответ, если будет.

Good afternoon, Simion. With the narrow size of the images in the top grid figured out. I found where you can get 3 photo topgrid, and any put /Newspaper/mobile/includes/shortcodes/td_module_mob_1.php. There you can set the limit of top grid.
Question the other now.
Is it possible to separate mobile theme to edit the header in CSS.? And how to reduce the size of the logo in footer in mobile theme?
Thank you for listening. And for the answer, if will.

Simion C.
tagDiv Staff

So maybe something like this – https://www.screencast.com/t/ZbcZi6fY5

.td-header-style-7 .sf-menu {
margin-top: 0;
}
.td-header-style-7 .td-header-sp-logo {
height: 78px;
}
.td-crumb-container {
min-height: 20px;
padding-top: 0;
}

I could modify the code if needed.

Simion C.
tagDiv Staff

This code will be a solution to the affix problem in that demo
https://www.screencast.com/t/ql8cNVRScQf
If you decide to use it again, enter this code in Theme panel->Custom CSS section

@media (min-width: 1141px) {
.td_stretch_container .td-header-menu-wrap.td-affix {
width: calc(100% - 40px * 2) !important;
}}

Sorry for the inconvenience.

Theresa Ream
tagDiv Member

Either I’m not understanding it correctly, or it’s not working.
What’s the code I would need to place in Header ad, so it would become a link to an external page? ( I’m using my own image banner)
Are you saying that I cannot use the header ad placeholder for my own custom ad?

Thank you!

Simion C.
tagDiv Staff

That should not happen, since the class is used for the div in the header. If you could provide some examples of this, maybe I am misunderstanding something.

That would be top article ad
https://forum.tagdiv.com/article-ads/
The implementation for it is defined here
https://www.screencast.com/t/CXBSRmLgxNJR

Simion C.
tagDiv Staff

That would be because you are using an older version of the theme, those options are not available in older versions. There were many options added
https://www.screencast.com/t/IigHlpffB
I could give you a code for that however, that you could try
https://www.screencast.com/t/t5KtUMwaDYC

.td-header-menu-wrap.td-affix {
opacity: 0.5;
}

Atelier Shen
tagDiv Member

Hi Ginfox,

I have found a solution on WordPress.org forum, post by staff of SG. You can try this out:


function add_vary_header($headers) {
$headers['Vary'] = 'User-Agent';
return $headers;
}
add_filter('wp_headers', 'add_vary_header');

Add code above to your function.php file in Newspaper-Child theme folder. This will make different cache for each device.

Sorry I didn’t use SiteGround for a long time, so I’m not able to test for you. But I guess you may reply to https://wordpress.org/support/topic/configure-mobile-theme-for-supercacher-siteground/ if you need further support.

Happy Coding!

Atelier Shen

jsupple05
tagDiv Member

Hi,

This doesn’t seem to work on the current version of the theme, 8.7. I’ve tried your tutorial but it doesn’t change the search function in the menu at all.

The code in the file parts/header-menu-2.php seems to need to be changed. I can get google custom search to show up in the menu by using the Google custom search code in this file, but when I click in the search box to type it disappears. Any ideas?

#0

I just purchased the Newspaper theme and the installation, activation, and Demo import all went without a hitch but now I’m trying to install the plugins and I am getting the follow error for all of the plugins both required and recommended.

Installing Plugin: tagDiv AMP
The plugin does not have a valid header.

Download failed. Forbidden

Return to tagDiv plugins panel

McDohl
tagDiv Member

Thank you for your response, Because of this I am not using sticky header, I hope the tagdiv will change this on future update

Thanks

denamer
tagDiv Member

I have changed it, but it still didn’t go white, maybe need to change something more?
.td-main-content-wrap,
.td-category-grid,
.post,
.td-category-header,
.td-big-grid-post .td-module-thumb, // big grid
.td_module_14 .td-module-meta-holder, // module 14 bg
.td-post-template-4 .td-post-title, // post template 4
.td-post-template-6 .td-post-header-holder, // post template 6
.td-post-template-8-box, // post template 8
.td-smart-list-dropdown-wrap .td-smart-list-dropdown, // smart list 8 dropdown
.td_module_mx3 .td-module-meta-info // block 13 - 1 col
{
background-color: white;
}

ronny3c
Participant
#0

Hi guy’s,

I’m using style 7 header style and would like to change the spacing in the header. I would like to remove some white spacing the compress the header in height. How can i do this?

Thanks,
Ronny

Simion C.
tagDiv Staff

Hi,

That would be the cascade effect in which CSS works. If multiple CSS code is used for the same element then the first one will be loaded firs, then the second etc. The black background color is the initial color set for that header style, you could remove it form the theme stylesheet
https://www.screencast.com/t/Vcg3ho5y6Ph
Also there is a default color set for the menu items
https://www.screencast.com/t/ck9TcE4kUV42
Try removing these codes and see how it looks. If you used custom code try entering it directly in the theme stylesheet so it will be loaded faster.

Thanks

Theresa Ream
Participant
#0

On my Newsmag theme, there are several ‘categories’ that I want to remove completely or change. How do I do that? Examples are: ‘Food Matters,’ ‘Healthy Style,’ ‘Most Popular,’ ‘ Sport News,’ ‘Fitness,’…and so on.

blukid
Participant
#0

I’d like to add a text-shadow to the white text on both the home page and category pages.
Can you provide some cross platform/cross browser css to apply this?

It should apply to the title text on the full-width header of the following pages:
https://cubanarts.xyz/
https://cubanarts.xyz/category/visual-arts/

I tried the following but it only works in Chrome.
Thanks.

/*! CATEGORY ARTICLE TITLE DROP SHADOW */
.td-full-layout .td-category-grid-fl .td_block_big_grid_fl_1 .td-big-grid-post .entry-title,
.td-full-layout .td-stretch-content .td_block_big_grid_fl_1 .td-big-grid-post .entry-title {
font-size: 32px;
line-height: 38px;
text-shadow: 1px 1px #000;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
-webkit-text-shadow: 1px 1px 1px #000; /* for chrome */
-text-shadow:1px 1px 1px #000; /* for all browser*/
-moz-text-shadow:1px 1px 1px #000; /* for firefox */
-o-text-shadow:1px 1px 1px #000; /* for opera */
-ms-text-shadow:1px 1px 1px #000; /* for ie 9+ */
-khtml-text-shadow:1px 1px 1px #000; /* for gecko based browser*/
-webkit-filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.9));
-ms-filter: “progid:DXImageTransform.Microsoft.Dropshadow(OffX=1, OffY=1, Color=’#000′)”;
filter: “progid:DXImageTransform.Microsoft.Dropshadow(OffX=1, OffY=1, Color=’#000′)”;
}

brenbrinkman
Participant
#0

I have Header style 7 right now. Is it possible to change to opacity to (for example) 50% when you scroll downthe page?

Sticky stays at the top of the page.

Thank you!

burgermening.nl
tagDiv Member

Thank you for awnser Simon.
I have not good software for edit .php document maybe is that the problem?
I do now edit in my fillazilla with notepad.
(Newspaper>parts>header>td-login-modal.php)

Simion C.
tagDiv Staff

That class you mention is used in some header templates, it is set for the div containing the logo you set in the theme panel, like header style 1 for example
https://www.screencast.com/t/HlChP6QZ7B
Corresponding CSS for it is in the theme stylesheet
https://www.screencast.com/t/86x1PnEDG

Bogdan B.
tagDiv Staff

Hello,

You can use a gallery to show images as you mention. Please use this guide:
https://forum.tagdiv.com/gallery-2/
As for the sign in, you can disable it from the theme panel header section
The author avatar placeholder does not have any setting to disable the placeholder. If The avatar can only be removed completely using a css code. But that will disable the avatar completely, not just the placeholder. As an alternative, you can use gravatar https://codex.wordpress.org/How_to_Use_Gravatars_in_WordPress
or this plugin: https://wordpress.org/plugins/wp-user-avatar/ to replace the placeholders.

Thank you!

Viewing 25 results - 18,251 through 18,275 (of 29,850 total)