- NewsmagChild theme support
- NewspaperChild Theme Support
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewsmagWhat’s included in Newsmag theme package
- NewspaperHow to Update the Newspaper Theme
- NewspaperWhat’s Included in the Newspaper Theme Package
- ApiThe Theme API
- NewspaperFlex Block Settings Guide
- NewspaperPrimary Category: Build a hierarchy for your website
- NewsmagCustom Post Type Support
- NewsmagInstall via WordPress
- NewsmagInstall via FTP
- NewsmagBreadcrumbs
- NewspaperBreadcrumbs
- NewspaperHow to Install Newspaper via FTP
- NewspaperHow to Install Newspaper via WordPress
Hi,
The new path top that file is – wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_mega_menu.php but this will work only for a standard header, if is a cloud header the path is a different one wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_mega_menu.php unfortunately this file can not be set in a child theme, it will be need to be edited after each theme update or it will be need to make a plugin with a similar shortcode in tagDiv Composer.
Thank you!
Hello,
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
I think that your code for ads need to beset in the head section. Alos use the ad box, not the html element.
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
Thank you!
Hello,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
title.
Hello,
Right now I am using child theme, and do my backups in WP all-in-one migration. Do I still have to do the backup in Dublicator also, before updating?
Hi Newspapper Team
I would like to exclude third level sub-categories from mega menu.
Eg :
Cat 1 (mega menu)
– Sub cat 1: show
– Sub cat 2: show
— Sub cat 2.a: hide
— Sub cat 2.b: hide
— etc.
– Sub cat 3: show
– etc.
I’ve read two threads mentioning this possibility by placing and modifying a copy of the td_block_mega_menu.php file in the child theme (https://forum.tagdiv.com/topic/exclude-sub-categoy-on-megamenu/) (https://forum.tagdiv.com/topic/is-it-possible-to-exclude-third-level-sub-categories-from-mega-menu/).
But they are from 2015 and 2018, and in 2024, I can’t find any td_block_mega_menu.php file in Newspapper > Includes > Shortcodes (no shortcodes folder exist).
Thank you in advance for your help,
Best,
Kevin
I finally found the “parts” folder in td-standard-pack -> Newspaper and I copied and pasted in my child theme. After modified the header-style file, now It’s working fine.
Thanks
Hi, I localized the problem. I have a child theme with a folder named “parts” and inside all the header-style files. When I delete this folder the search button works, but I can’t customize the header. I don’t find this “parts” folder in the original theme folder, I suposed that in an update it was changed, I don’t know.
Hi,
You can use singlecloud templates, and in this way, you can add the shortcode to the single post template using the column text element.
A shortcode can be inserted by using the element called “Column text” or “Text with title”. “Column text” and “text with title” elements have a button called “edit content” and if you click on that button, the WP Editor will open, and you can add some text/code/shortcode there. Close the WP Editor from X, save the changes from Composer and view the page to see the changes.
If you want to use template from theme panel, then you need to edit the template that is used for the template and set it in the child theme.
Thank you!
Ok, thanks, I think I see documentation on updating the theme now, it was just a little confusing in the child theme section of your instructions.
Thanks.
Hello,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hi !
I’ve already have done this several times. I have WP Rocket installed.
My Config :
-
Wordpres Version 6.4.3
No CDN
No Child theme
Server Linux 5.15.80-ovh-vps-grsec-zfs-classid x86_64
Serveur web Apache
Version de PHP 8.1.23 (64 bits)
PHP SAPI fpm-fcgi
Version de cURL 7.64.0 OpenSSL/1.1.1n
Extension mysqli
Version du serveur 5.7.42-log
Version du client mysqlnd 8.1.23
Located to OVH in France
Thank You
Hello,
Have you recently updated your plugins, theme, WordPress, php? Have you checked for a plugin conflict? Please deactivate ALL plugins except tagDiv ones; also, if you are using a child theme or cache plugin, deactivate them, clear all cache, and try again
Thank you!
This is for a ‘google news’ button so the goal was to have it for every news post. Problem with adding to each post individually is I’d have to go through like 2000 posts which isn’t sustainable. Maybe this is something tagdiv could add in the future is add an automatic ‘google news’ button for better sharing?
If I want to edit the posts template for child theme, would that be ‘single.php’ ? ty
Hello,
Please tell me where it only appears on one page or the entire site. Did you add any code or elements from another plugin?
Please follow the steps from this topic https://forum.tagdiv.com/topic/error-at-zones-6models-1dom-the-model-does-not-match-the-content-currene/ if you have a child theme; please use the main theme.
You can try to revert an old revision on a page/template -> https://www.wpbeginner.com/beginners-guide/complete-guide-to-wordpress-post-revisions/
Thank you!
Hello @Chris269!
If you will use in the future cloud templates (that we recommend), then you have in the TagDiv Composer a lot of options for customization. We wanted to create the easiest platform, so you can build your website without knowing any code and have the possibility to customize every field from any demo. That’s why you do not need a child theme with cloud templates. But you can use the child theme you have with the default templates.
The child theme is not overwritten by the update. An issue with that could be the compatibility of your child theme with the new version of our theme.
If you have some custom modifications directly in the theme files, then better save the code and replace it after every update. You can use a staging plugin, so you won’t ruin your website.
Thank you!
This is how I understand it thus far: the child theme is important because all of my posts and personalization of the theme are done on the child theme and when I go to update the theme when you update it, I merely replace the main theme and all of my edits and blogs and personalization remains intact and the ‘base main theme’ is what is overwritten by the update. Right?
SO, if you are saying ‘child theme no longer needed because of our invention and update proof’ how does your new process of no child theme work and how does it NOT overwrite all my stuff if I am updating the main theme then?
🙂
Hi, so, I am a somewhat of a novice, was making a wordpress site years ago and have decided to try again, so i have moderate experience.
When I read this on your instructions regarding ‘child themes’
“Please note that most of the child theme modifications are no longer required as the Cloud Library plugin allows you to create templates for posts, categories, tags, archives, 404 pages, author templates, search templates,etc.
This way your modifications no longer require code modification and are truly update proof.”
It confuses me.
I do not intend on altering the code (for now) and I just want to use the website theme and it’s features but I am confused about this ‘no longer needed child theme’ and then ‘lets help you figure out how to instal a child theme’ right after.
For now, I just want to know what the best way is to install this so that I will not run into unforeseen complications down the road.
What is the process/circumstances of ‘NOT’ using the child theme and updating your theme?
What is the process/circumstances of using the child theme and updating your theme?
I guess if your instructions were a bit more detailed regarding this I would no be so confused right now. Once you start saying ‘no need for child theme’ I guess it would be better to explain why more than just a link that leads to instructions that do not actually tell you anything about that.
Perhaps one day after setting everything up, all the blogs, all the personal edits of theme pages and logos, if I then need to change something in the code THEN I would need the child theme? If so THEN is it possible to instal child theme or is this something I should do ahead of time just in case?
lol, explain it to me like I am 5 years old 🙂
Thanks.
Hi,
The situation looks like you have a cache plugin that is loading only the essential code and the rest of code is loading after the first interact with the website. Usually this type of “implementation” is used for getting a good pagespped score here – https://pagespeed.web.dev/
I inspected further and indeed there is a custom css (the one you provided and this is apply after you interact with the website).
My first suggestion is to check if the problem appears when you are logged in, if appears, then make a test using only tagDiv plugins and the main theme (not the child theme).
Let me know the results!
Hello,
I’m facing a problem with styles on 12.6.3 Newspaper with prebuilt Style PRO site:
https://rometm.com
When you load the website the design is ok. But when you move the mouse a little bit you can see the main menu is moved a little bit to left.
And when you put the mouse on top of menu the background of each element is back and it must be white, as in the prebuilt theme.
It happens because after moving mouse footer loads, I think its lazy load.
And I think footer style affects main menu.
The code inserted by TagDiv Composer is the next one (and if I delete it main menu shows correctly):
<div class="vc_column tdi_6_ee9 wpb_column vc_column_container tdc-column td-pb-span12">
<style scoped="">
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
.tdi_6_ee9{
vertical-align: baseline;
}.tdi_6_ee9 > .wpb_wrapper,
.tdi_6_ee9 > .wpb_wrapper > .tdc-elements{
display: block;
}.tdi_6_ee9 > .wpb_wrapper > .tdc-elements{
width: 100%;
}.tdi_6_ee9 > .wpb_wrapper > .vc_row_inner{
width: auto;
}.tdi_6_ee9 > .wpb_wrapper{
width: auto;
height: auto;
}
</style><div class="wpb_wrapper"><div class="td_block_wrap tdb_header_logo tdi_7_c5d td-pb-border-top td_block_template_1 tdb-header-align" data-td-block-uid="tdi_7_c5d">
<style>
/* inline tdc_css att - generated by TagDiv Composer */
.tdi_7_c5d{
margin-bottom:50px !important;
}
/* phone */
@media (max-width: 767px)
{
.tdi_7_c5d{
margin-bottom:30px !important;
}
}
/* portrait */
@media (min-width: 768px) and (max-width: 1018px)
{
.tdi_7_c5d{
margin-bottom:40px !important;
}
}
</style>
<style>
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
.tdb-header-align{
vertical-align: middle;
}.tdb_header_logo{
margin-bottom: 0;
clear: none;
}.tdb_header_logo .tdb-logo-a,
.tdb_header_logo h1{
display: flex;
pointer-events: auto;
align-items: flex-start;
}.tdb_header_logo h1{
margin: 0;
line-height: 0;
}.tdb_header_logo .tdb-logo-img-wrap img{
display: block;
}.tdb_header_logo .tdb-logo-svg-wrap + .tdb-logo-img-wrap{
display: none;
}.tdb_header_logo .tdb-logo-svg-wrap svg{
width: 50px;
display: block;
transition: fill .3s ease;
}.tdb_header_logo .tdb-logo-text-wrap{
display: flex;
}.tdb_header_logo .tdb-logo-text-title,
.tdb_header_logo .tdb-logo-text-tagline{
-webkit-transition: all 0.2s ease;
transition: all 0.2s ease;
}.tdb_header_logo .tdb-logo-text-title{
background-size: cover;
background-position: center center;
font-size: 75px;
font-family: serif;
line-height: 1.1;
color: #222;
white-space: nowrap;
}.tdb_header_logo .tdb-logo-text-tagline{
margin-top: 2px;
font-size: 12px;
font-family: serif;
letter-spacing: 1.8px;
line-height: 1;
color: #767676;
}.tdb_header_logo .tdb-logo-icon{
position: relative;
font-size: 46px;
color: #000;
}.tdb_header_logo .tdb-logo-icon-svg{
line-height: 0;
}.tdb_header_logo .tdb-logo-icon-svg svg{
width: 46px;
height: auto;
}.tdb_header_logo .tdb-logo-icon-svg svg,
.tdb_header_logo .tdb-logo-icon-svg svg *{
fill: #000;
}.tdi_7_c5d .tdb-logo-a,
.tdi_7_c5d h1{
align-items: center;
justify-content: center;
}.tdi_7_c5d .tdb-logo-svg-wrap{
display: block;
}.tdi_7_c5d .tdb-logo-svg-wrap + .tdb-logo-img-wrap{
display: none;
}.tdi_7_c5d .tdb-logo-img{
max-width: 80px;
}.tdi_7_c5d .tdb-logo-img-wrap{
display: block;
}.tdi_7_c5d .tdb-logo-text-tagline{
margin-top: 0;
margin-left: 0px;
display: block;
color: #ffffff;
font-family:Oswald !important;font-size:20px !important;line-height:1 !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:1px !important;;
}.tdi_7_c5d .tdb-logo-text-title{
display: block;
color: #ffffff;
font-family:Oswald !important;font-size:20px !important;line-height:1 !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:1px !important;;
}.tdi_7_c5d .tdb-logo-text-wrap{
flex-direction: row;
align-items: baseline;
align-items: center;
}.tdi_7_c5d .tdb-logo-icon{
top: 0px;
display: block;
}.tdi_7_c5d .tdb-logo-a:hover .tdb-logo-text-title{
color: #ffffff;
background: none;
-webkit-text-fill-color: initial;
background-position: center center;
}.tdi_7_c5d .tdb-logo-a:hover .tdb-logo-text-tagline{
color: #ffffff;
background: none;
-webkit-text-fill-color: initial;
background-position: center center;
}@media (max-width: 767px) {
.tdb_header_logo .tdb-logo-text-title {
font-size: 36px;
}
}@media (max-width: 767px) {
.tdb_header_logo .tdb-logo-text-tagline {
font-size: 11px;
}
}
/* portrait */
@media (min-width: 768px) and (max-width: 1018px){
/* custom css - generated by TagDiv Composer */
.tdi_7_c5d .tdb-logo-img{
max-width: 130px;
}
}
/* phone */
@media (max-width: 767px){
/* custom css - generated by TagDiv Composer */
.tdi_7_c5d .tdb-logo-img{
max-width: 25px;
}.tdi_7_c5d .tdb-logo-text-title{
font-size:18px !important;;
}.tdi_7_c5d .tdb-logo-text-tagline{
font-size:18px !important;;
}
}
</style><div class="tdb-block-inner td-fix-index"><span class="tdb-logo-text-wrap"><span class="tdb-logo-text-title">ПУТЕВОДИТЕЛЬ</span><span class="tdb-logo-img-wrap">
</span><span class="tdb-logo-text-tagline">РИМ ТМ</span></span></div></div> <!-- ./block --><div class="td_block_wrap tdb_header_menu tdi_8_65c tds_menu_active1 tds_menu_sub_active1 td-pb-border-top td_block_template_1 tdb-header-align" data-td-block-uid="tdi_8_65c" style=" z-index: 999;">
<style>
/* inline tdc_css att - generated by TagDiv Composer */
.tdi_8_65c{
margin-bottom:15px !important;
}
</style>
<style>
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
.tdb_header_menu{
margin-bottom: 0;
z-index: 999;
clear: none;
}.tdb_header_menu .tdb-main-sub-icon-fake,
.tdb_header_menu .tdb-sub-icon-fake{
display: none;
}.rtl .tdb_header_menu .tdb-menu{
display: flex;
}.tdb_header_menu .tdb-menu{
display: inline-block;
vertical-align: middle;
margin: 0;
}.tdb_header_menu .tdb-menu .tdb-mega-menu-inactive,
.tdb_header_menu .tdb-menu .tdb-menu-item-inactive{
pointer-events: none;
}.tdb_header_menu .tdb-menu .tdb-mega-menu-inactive > ul,
.tdb_header_menu .tdb-menu .tdb-menu-item-inactive > ul{
visibility: hidden;
opacity: 0;
}.tdb_header_menu .tdb-menu .sub-menu{
font-size: 14px;
position: absolute;
top: -999em;
background-color: #fff;
z-index: 99;
}.tdb_header_menu .tdb-menu .sub-menu > li{
list-style-type: none;
margin: 0;
font-family: 'Open Sans', 'Open Sans Regular', sans-serif;
}.tdb_header_menu .tdb-menu > li{
float: left;
list-style-type: none;
margin: 0;
}.tdb_header_menu .tdb-menu > li > a{
position: relative;
display: inline-block;
padding: 0 14px;
font-weight: 700;
font-size: 14px;
line-height: 48px;
vertical-align: middle;
text-transform: uppercase;
-webkit-backface-visibility: hidden;
color: #000;
font-family: 'Open Sans', 'Open Sans Regular', sans-serif;
}.tdb_header_menu .tdb-menu > li > a:after{
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
margin: 0 auto;
width: 0;
height: 3px;
background-color: var(--td_theme_color, #4db2ec);
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-transition: width 0.2s ease;
transition: width 0.2s ease;
}.tdb_header_menu .tdb-menu > li > a > .tdb-menu-item-text{
display: inline-block;
}.tdb_header_menu .tdb-menu > li > a .tdb-menu-item-text,
.tdb_header_menu .tdb-menu > li > a span{
vertical-align: middle;
float: left;
}.tdb_header_menu .tdb-menu > li > a .tdb-sub-menu-icon{
margin: 0 0 0 7px;
}.tdb_header_menu .tdb-menu > li > a .tdb-sub-menu-icon-svg{
float: none;
line-height: 0;
}.tdb_header_menu .tdb-menu > li > a .tdb-sub-menu-icon-svg svg{
width: 14px;
height: auto;
}.tdb_header_menu .tdb-menu > li > a .tdb-sub-menu-icon-svg svg,
.tdb_header_menu .tdb-menu > li > a .tdb-sub-menu-icon-svg svg *{
fill: #000;
}.tdb_header_menu .tdb-menu > li.current-menu-item > a:after,
.tdb_header_menu .tdb-menu > li.current-menu-ancestor > a:after,
.tdb_header_menu .tdb-menu > li.current-category-ancestor > a:after,
.tdb_header_menu .tdb-menu > li.current-page-ancestor > a:after,
.tdb_header_menu .tdb-menu > li:hover > a:after,
.tdb_header_menu .tdb-menu > li.tdb-hover > a:after{
width: 100%;
}.tdb_header_menu .tdb-menu > li:hover > ul,
.tdb_header_menu .tdb-menu > li.tdb-hover > ul{
top: auto;
display: block !important;
}.tdb_header_menu .tdb-menu > li.td-normal-menu > ul.sub-menu{
top: auto;
left: 0;
z-index: 99;
}.tdb_header_menu .tdb-menu > li .tdb-menu-sep{
position: relative;
vertical-align: middle;
font-size: 14px;
}.tdb_header_menu .tdb-menu > li .tdb-menu-sep-svg{
line-height: 0;
}.tdb_header_menu .tdb-menu > li .tdb-menu-sep-svg svg{
width: 14px;
height: auto;
}.tdb_header_menu .tdb-menu > li:last-child .tdb-menu-sep{
display: none;
}.tdb_header_menu .tdb-menu-item-text{
word-wrap: break-word;
}.tdb_header_menu .tdb-menu-item-text,
.tdb_header_menu .tdb-sub-menu-icon,
.tdb_header_menu .tdb-menu-more-subicon{
vertical-align: middle;
}.tdb_header_menu .tdb-sub-menu-icon,
.tdb_header_menu .tdb-menu-more-subicon{
position: relative;
top: 0;
padding-left: 0;
}.tdb_header_menu .tdb-normal-menu{
position: relative;
}.tdb_header_menu .tdb-normal-menu ul{
left: 0;
padding: 15px 0;
text-align: left;
}.tdb_header_menu .tdb-normal-menu ul ul{
margin-top: -15px;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item{
position: relative;
list-style-type: none;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item > a{
position: relative;
display: block;
padding: 7px 30px;
font-size: 12px;
line-height: 20px;
color: #111;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item > a .tdb-sub-menu-icon,
.tdb_header_menu .td-pulldown-filter-list .tdb-menu-item > a .tdb-sub-menu-icon{
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right: 0;
padding-right: inherit;
font-size: 7px;
line-height: 20px;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item > a .tdb-sub-menu-icon-svg,
.tdb_header_menu .td-pulldown-filter-list .tdb-menu-item > a .tdb-sub-menu-icon-svg{
line-height: 0;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item > a .tdb-sub-menu-icon-svg svg,
.tdb_header_menu .td-pulldown-filter-list .tdb-menu-item > a .tdb-sub-menu-icon-svg svg{
width: 7px;
height: auto;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item > a .tdb-sub-menu-icon-svg svg,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item > a .tdb-sub-menu-icon-svg svg *,
.tdb_header_menu .td-pulldown-filter-list .tdb-menu-item > a .tdb-sub-menu-icon svg,
.tdb_header_menu .td-pulldown-filter-list .tdb-menu-item > a .tdb-sub-menu-icon svg *{
fill: #000;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item:hover > ul,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item.tdb-hover > ul{
top: 0;
display: block !important;
}.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item.current-menu-item > a,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item.current-menu-ancestor > a,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item.current-category-ancestor > a,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item.current-page-ancestor > a,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item.tdb-hover > a,
.tdb_header_menu .tdb-normal-menu ul .tdb-menu-item:hover > a{
color: var(--td_theme_color, #4db2ec);
}.tdb_header_menu .tdb-normal-menu > ul{
left: -15px;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu ul,
.tdb_header_menu.tdb-menu-sub-inline .td-pulldown-filter-list{
width: 100% !important;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu ul li,
.tdb_header_menu.tdb-menu-sub-inline .td-pulldown-filter-list li{
display: inline-block;
width: auto !important;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu,
.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu .tdb-menu-item{
position: static;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu ul ul{
margin-top: 0 !important;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu > ul{
left: 0 !important;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu .tdb-menu-item > a .tdb-sub-menu-icon{
float: none;
line-height: 1;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu .tdb-menu-item:hover > ul,
.tdb_header_menu.tdb-menu-sub-inline .tdb-normal-menu .tdb-menu-item.tdb-hover > ul{
top: 100%;
}.tdb_header_menu.tdb-menu-sub-inline .tdb-menu-items-dropdown{
position: static;
}.tdb_header_menu.tdb-menu-sub-inline .td-pulldown-filter-list{
left: 0 !important;
}.tdb-menu .tdb-mega-menu .sub-menu{
-webkit-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
width: 1114px !important;
}.tdb-menu .tdb-mega-menu .sub-menu,
.tdb-menu .tdb-mega-menu .sub-menu > li{
position: absolute;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}.tdb-menu .tdb-mega-menu .sub-menu > li{
top: 0;
width: 100%;
max-width: 1114px !important;
height: auto;
background-color: #fff;
border: 1px solid #eaeaea;
overflow: hidden;
}.tdc-dragged .tdb-block-menu ul{
visibility: hidden !important;
opacity: 0 !important;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}.tdb-mm-align-screen .tdb-menu .tdb-mega-menu .sub-menu{
-webkit-transform: translateX(0);
transform: translateX(0);
}.tdb-mm-align-parent .tdb-menu .tdb-mega-menu{
position: relative;
}.tdb-menu .tdb-mega-menu .tdc-row:not([class*='stretch_row_']),
.tdb-menu .tdb-mega-menu .tdc-row-composer:not([class*='stretch_row_']){
width: auto !important;
max-width: 1240px;
}.tdb-menu .tdb-mega-menu-page > .sub-menu > li .tdb-page-tpl-edit-btns{
position: absolute;
top: 0;
left: 0;
display: none;
flex-wrap: wrap;
gap: 0 4px;
}.tdb-menu .tdb-mega-menu-page > .sub-menu > li:hover .tdb-page-tpl-edit-btns{
display: flex;
}.tdb-menu .tdb-mega-menu-page > .sub-menu > li .tdb-page-tpl-edit-btn{
background-color: #000;
padding: 1px 8px 2px;
font-size: 11px;
color: #fff;
z-index: 100;
}.tdi_8_65c .td_block_inner{
text-align: center;
}.tdi_8_65c .tdb-menu > li{
margin-right: 6px;
}.tdi_8_65c .tdb-menu > li:last-child{
margin-right: 0;
}.tdi_8_65c .tdb-menu-items-dropdown{
margin-left: 6px;
}.tdi_8_65c .tdb-menu-items-empty + .tdb-menu-items-dropdown{
margin-left: 0;
}.tdi_8_65c .tdb-menu > li > a,
.tdi_8_65c .td-subcat-more{
padding: 0 10px;
color: #ffffff;
}.tdi_8_65c .tdb-menu > li .tdb-menu-sep,
.tdi_8_65c .tdb-menu-items-dropdown .tdb-menu-sep{
font-size: 10px;
top: 0px;
color: #ffffff;
}.tdi_8_65c .tdb-menu > li > a .tdb-sub-menu-icon,
.tdi_8_65c .td-subcat-more .tdb-menu-more-subicon{
top: -1px;
}.tdi_8_65c .td-subcat-more .tdb-menu-more-icon{
top: 0px;
}.tdi_8_65c .tdb-menu > li > a .tdb-sub-menu-icon-svg svg,
.tdi_8_65c .tdb-menu > li > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .td-subcat-more .tdb-menu-more-subicon-svg svg,
.tdi_8_65c .td-subcat-more .tdb-menu-more-subicon-svg svg *,
.tdi_8_65c .td-subcat-more .tdb-menu-more-icon-svg,
.tdi_8_65c .td-subcat-more .tdb-menu-more-icon-svg *{
fill: #ffffff;
}.tdi_8_65c .tdb-menu > li .tdb-menu-sep-svg svg,
.tdi_8_65c .tdb-menu > li .tdb-menu-sep-svg svg *,
.tdi_8_65c .tdb-menu-items-dropdown .tdb-menu-sep-svg svg,
.tdi_8_65c .tdb-menu-items-dropdown .tdb-menu-sep-svg svg *{
fill: #ffffff;
}.tdi_8_65c .tdb-menu > li > a,
.tdi_8_65c .td-subcat-more,
.tdi_8_65c .td-subcat-more > .tdb-menu-item-text{
font-family:Oswald !important;font-size:14px !important;line-height:1 !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:1px !important;
}.tdi_8_65c .tdb-normal-menu ul .tdb-menu-item > a .tdb-sub-menu-icon,
.tdi_8_65c .td-pulldown-filter-list .tdb-menu-item > a .tdb-sub-menu-icon{
right: 0;
margin-top: 1px;
}.tdi_8_65c .tdb-menu .tdb-normal-menu ul,
.tdi_8_65c .td-pulldown-filter-list,
.tdi_8_65c .td-pulldown-filter-list .sub-menu{
box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.15);
}.tdi_8_65c .tdb-menu .tdb-mega-menu .sub-menu > li{
box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
}@media (max-width: 1140px) {
.tdb-menu .tdb-mega-menu .sub-menu > li {
width: 100% !important;
}
}
/* landscape */
@media (min-width: 1019px) and (max-width: 1140px){
/* custom css - generated by TagDiv Composer */
.tdi_8_65c .tdb-menu > li{
margin-right: 5px;
}.tdi_8_65c .tdb-menu > li:last-child{
margin-right: 0;
}.tdi_8_65c .tdb-menu-items-dropdown{
margin-left: 5px;
}.tdi_8_65c .tdb-menu-items-empty + .tdb-menu-items-dropdown{
margin-left: 0;
}
}
/* portrait */
@media (min-width: 768px) and (max-width: 1018px){
/* custom css - generated by TagDiv Composer */
.tdi_8_65c .tdb-menu > li{
margin-right: 4px;
}.tdi_8_65c .tdb-menu > li:last-child{
margin-right: 0;
}.tdi_8_65c .tdb-menu-items-dropdown{
margin-left: 4px;
}.tdi_8_65c .tdb-menu-items-empty + .tdb-menu-items-dropdown{
margin-left: 0;
}.tdi_8_65c .tdb-menu > li > a,
.tdi_8_65c .td-subcat-more{
padding: 0 8px;
}
}
/* phone */
@media (max-width: 767px){
/* custom css - generated by TagDiv Composer */
.tdi_8_65c .tdb-menu > li > a,
.tdi_8_65c .td-subcat-more,
.tdi_8_65c .td-subcat-more > .tdb-menu-item-text{
font-size:12px !important;
}
}
</style>
<style>
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
.tdi_8_65c .tdb-menu > li.current-menu-item > a,
.tdi_8_65c .tdb-menu > li.current-menu-ancestor > a,
.tdi_8_65c .tdb-menu > li.current-category-ancestor > a,
.tdi_8_65c .tdb-menu > li.current-page-ancestor > a,
.tdi_8_65c .tdb-menu > li:hover > a,
.tdi_8_65c .tdb-menu > li.tdb-hover > a,
.tdi_8_65c .tdb-menu-items-dropdown:hover .td-subcat-more{
color: #aaaaaa;
}.tdi_8_65c .tdb-menu > li.current-menu-item > a .tdb-sub-menu-icon-svg svg,
.tdi_8_65c .tdb-menu > li.current-menu-item > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .tdb-menu > li.current-menu-ancestor > a .tdb-sub-menu-icon-svg svg,
.tdi_8_65c .tdb-menu > li.current-menu-ancestor > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .tdb-menu > li.current-category-ancestor > a .tdb-sub-menu-icon-svg svg,
.tdi_8_65c .tdb-menu > li.current-category-ancestor > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .tdb-menu > li.current-page-ancestor > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .tdb-menu > li:hover > a .tdb-sub-menu-icon-svg svg,
.tdi_8_65c .tdb-menu > li:hover > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .tdb-menu > li.tdb-hover > a .tdb-sub-menu-icon-svg svg,
.tdi_8_65c .tdb-menu > li.tdb-hover > a .tdb-sub-menu-icon-svg svg *,
.tdi_8_65c .tdb-menu-items-dropdown:hover .td-subcat-more .tdb-menu-more-icon-svg svg,
.tdi_8_65c .tdb-menu-items-dropdown:hover .td-subcat-more .tdb-menu-more-icon-svg svg *{
fill: #aaaaaa;
}.tdi_8_65c .tdb-menu > li > a:after,
.tdi_8_65c .tdb-menu-items-dropdown .td-subcat-more:after{
background-color: ;
height: 0px;
bottom: 0px;
}.tdi_8_65c .tdb-menu > li.current-menu-item > a:after,
.tdi_8_65c .tdb-menu > li.current-menu-ancestor > a:after,
.tdi_8_65c .tdb-menu > li.current-category-ancestor > a:after,
.tdi_8_65c .tdb-menu > li.current-page-ancestor > a:after,
.tdi_8_65c .tdb-menu > li:hover > a:after,
.tdi_8_65c .tdb-menu > li.tdb-hover > a:after,
.tdi_8_65c .tdb-menu-items-dropdown:hover .td-subcat-more:after{
width: 0px;
}
</style>
<style>
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
</style><div id="tdi_8_65c" class="td_block_inner td-fix-index"><div class="tdb-main-sub-icon-fake"><i class="tdb-sub-menu-icon td-icon-down tdb-main-sub-menu-icon"></i></div><div class="tdb-sub-icon-fake"><i class="tdb-sub-menu-icon td-icon-right-arrow"></i></div><ul id="menu-verhnee-menyu" class="tdb-block-menu tdb-menu tdb-menu-items-visible"><li id="menu-item-17301" class="menu-item menu-item-type-post_type menu-item-object-page tdb-cur-menu-item menu-item-first tdb-menu-item-button tdb-menu-item tdb-normal-menu menu-item-17301"><div class="tdb-menu-item-text">О нас</div><i class="tdb-menu-sep td-icon-romb-full"></i>
<li id="menu-item-16119" class="menu-item menu-item-type-taxonomy menu-item-object-category tdb-menu-item-button tdb-menu-item tdb-normal-menu menu-item-16119"><div class="tdb-menu-item-text">Билеты здесь</div><i class="tdb-menu-sep td-icon-romb-full"></i>
<li id="menu-item-16120" class="menu-item menu-item-type-taxonomy menu-item-object-category tdb-menu-item-button tdb-menu-item tdb-normal-menu menu-item-16120"><div class="tdb-menu-item-text">Где остановиться в Риме</div><i class="tdb-menu-sep td-icon-romb-full"></i>
<li id="menu-item-17169" class="menu-item menu-item-type-custom menu-item-object-custom tdb-menu-item-button tdb-menu-item tdb-normal-menu menu-item-17169"><div class="tdb-menu-item-text">Экскурсии по Риму</div><i class="tdb-menu-sep td-icon-romb-full"></i>
<li id="menu-item-16122" class="menu-item menu-item-type-taxonomy menu-item-object-category tdb-menu-item-button tdb-menu-item tdb-normal-menu menu-item-16122"><div class="tdb-menu-item-text">Такси в Риме</div><i class="tdb-menu-sep td-icon-romb-full"></i>
<li id="menu-item-16121" class="menu-item menu-item-type-taxonomy menu-item-object-category tdb-menu-item-button tdb-menu-item tdb-normal-menu menu-item-16121"><div class="tdb-menu-item-text">Аренда авто в Риме</div><i class="tdb-menu-sep td-icon-romb-full"></i>
</div></div><div class="tdm_block td_block_wrap tdm_block_inline_text tdi_11_59d td-pb-border-top td_block_template_1" data-td-block-uid="tdi_11_59d">
<style>
/* custom css - generated by TagDiv Composer */
/* custom css - generated by TagDiv Composer */
.tdm_block.tdm_block_inline_text{
margin-bottom: 0;
vertical-align: top;
}.tdm_block.tdm_block_inline_text .tdm-descr{
margin-bottom: 0;
-webkit-transform: translateZ(0);
transform: translateZ(0);
}.tdc-row-content-vert-center .tdm-inline-text-yes{
vertical-align: middle;
}.tdc-row-content-vert-bottom .tdm-inline-text-yes{
vertical-align: bottom;
}.tdi_11_59d{
text-align: center !important;
margin-right: auto;
margin-left: auto;
}.tdi_11_59d .tdm-descr{
color: #777777;
font-family:Oswald !important;font-size:12px !important;line-height:1 !important;font-weight:600 !important;text-transform:uppercase !important;letter-spacing:1px !important;
}
/* portrait */
@media (min-width: 768px) and (max-width: 1018px){
/* custom css - generated by TagDiv Composer */
.tdi_11_59d .tdm-descr{
letter-spacing:0px !important;
}
}
/* phone */
@media (max-width: 767px){
/* custom css - generated by TagDiv Composer */
.tdi_11_59d .tdm-descr{
font-size:10px !important;
}
}
</style><p class="tdm-descr">2024 Copyright Путеводитель Рим ТМ</p></div></div></div>
How can I fix that without removing footer?
Thank you
Greetings
Hi,
Unfortunately that element can’t be override, sorry!
Only the elements from tagDiv Standard Pack can be overwritten in child theme – https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you for your understating!
Is possible, via code, to override the element “woo-add-to-cart” in my child theme?
Thanks
Hi,
You can add a button/link in the post editor -> https://i.imgur.com/V4lED7d.png There is no need to use the child theme
Thank you!
I want to add a button/link at the bottom of EVERY Post (above the tags section), but not for Pages (just Posts), and then add it to the child theme. Can you give me detailed instructions on how to do this? Thanks
I want to add a button after EVERY post (but not pages), and add it to the child theme. Can you give me detailed instructions how to do this? Thanks