Subgategories in category page – Sticky header

Posted in: Newspaper
Post count: 23

Hi,

I want to disable the subcategories dropdown option in category page and show all the subagategories. https://prnt.sc/s6t8fp

Also i changed the header/main menu to a fixed width but it broke the sticky header layout. How can i fix this? https://prnt.sc/s6tah6

Post count: 18283

Hello !

Menus can be edited using wordpress options, Appearance – Menus.

The sticky header can be edited using tagDiv Composer as you can see here: https://www.youtube.com/watch?v=HXQQygkCCJo&t=1s

Thank you !

Post count: 23

Hi Vlad,
I cannot edit the header/sticky header the way you show in the video, only the body of the page.

I am using header style 10 and i put the following code in order to have a boxed header and not full width, but it breaks the sticky header layout (https://prnt.sc/s6tah6):

.td-header-style-10 {
width: 1116px;
margin-left: auto;
margin-right: auto;}

Also you didn’t answer to my question about how to show all subgategories in the catagory page without the dropdown list. What is the modification that i have to do in the category template?

Except from that, please inform how which file should i add in my child theme, to make some changes in the post template. I am using style 2 post template and i want to add some custom hooks before post title and scripts after post content.

thanks

Post count: 18283

Hello !

For post template you can use the tagDiv Composer to completely edit your template: https://forum.tagdiv.com/design-post-pages-using-cloud-library-templates/

If you’re using the tagDiv Composer and a Cloud Library header you can edit the menu element and cancel the dropdown: https://i.imgur.com/riTiWUt.jpg

Also if you’re using cloud header you can edit your row’s width so you can achieve a boxed layout: https://www.screencast.com/t/f7X2IqgnVk

Thank you !

Post count: 23

Hi Vlad,

And how can i add custom code in the post template style 2? I want to put some custom widgets to show below the article.

So, do i have to use cloud header in order to have the option to do the things i described?

Is there any other custom way because i have set the site with header style 10 untill now.

Post count: 18283

Hello !

You can use the column text element in order to render shortcodes or use HTML codes.

Simply copy the shortcode and insert it in the text area of the column text as you can see here: https://www.screencast.com/t/UEMEsVKog

Column text is an element from tagDiv Composer.

Thank you !

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.