Hello, is there any way to make the default sidebar appear on the right side of the whole homepage, even where there are widget blocks ? At the moment the default sidebar is only shown in the bottom of the page where the latest articles are visible.
I know I can make widgetised sidebar blocks for each widget block, but I don’t want that. I want the default sidebar to be shown on the entire home page as it is in articles.
LE: I would also like to hide on the mobile phone view the “more stories box” visible within articles.
And finally I would like to completely hide the sidebar in the mobile phone view to make navigation a lot simpler.
Thank you!
-
This topic was modified 11 years by
lecker. Reason: added more requests
And one more thing, how can I show different ads for mobile and desktop? The toggles in the Ads menu are not working for some reason or another for custom ads.
I used a custom php code found here to add a banner to my footer, but it’s size varies, so I want to add different sizes to mobile and desktop using the custom ad panel. Like I said before, the toggles don’t have any effect, the banners are showing everywhere no matter what I disable via the ads menu.
Thank you.
Hi,
You can also set the sidebar for the page as well from page template settings section: http://screencast.com/t/29IKb73Cj7rV
To remove the more stories box from mobiles you can sue this custom css in theme panel > custom css filed:
@media (max-width: 767px) {
.td-more-articles-box{
display:none;
}
}
To hide the sidebar you can use this custom css:
@media (max-width: 767px) {
.td-main-sidebar {
display: none !important;
}
}
Regarding ads please note that those ad switches are for adsense ads only so if you are using other type of ads will not work. Please send your site’s URL so I can also inspect this.
Thanks
-
This reply was modified 11 years by
Lucian.
Hey, thanks for the codes, they work.
I’ve set the sidebar on the right side on pages, as it was default, but it still won’t show on the front page anywhere above the latest articles. I want it to be shown in every page the same way, I don’t want to make different sidebars to use as widgets for the homepage.
Regarding the ads, this is my test site : http://xzs.idevice.ro/ . I use ads on my own web server with a floating code, and I want to add a normal 728 x 90 one for desktop and tablets, plus a 320 x 50 one for mobile. For this to work I need to show two different custom ads in mobile and desktop.
Multumesc!
Hi,
You can also set your sidebar like this: http://screencast.com/t/kyIPcX9y8 just set and add your page content on the left then use the layout I’ve pointed in the screenshot and using a widgetised VC element add your sidebar.
For the ads you need to use the div’s mentioned into the ads guide: http://screencast.com/t/BJ2EAWEu and set a banner for each screen width (mobile/tablet/desktop): https://forum.tagdiv.com/ads-system-full-guide/
Regarding the inline ads please note that I have also tested this and haven’t found any issues:
config: http://screencast.com/t/KjSpwbaLB
result: http://screencast.com/t/gcvA3Y7ouM
Please make sure that you use this right and also try it without any plugins active.
Thanks
Thanks a lot for those, I figured how to work things out, but I do have one last question. Is it possible to not break the homepage sidebar area when it gets to the latest articles? Basically the latest articles need a second sidebar, and I would just like to show the default one on the entire page from top to bottom, and over the latest articles. I use a lot of widgets to show information.
Moving the theme to my main website, I realised that the sidebar isn’t hidden on the front page, although I used the code you provided. Furthermore, it seems that Google Ads set via widgets are not resized automatically, although the ads added via my ad server are, which is sort of weird.
Besides these, how can I make the article title linked within an article. Basically the title is just text now, inside articles, but I want the title to link to it’s respective article page.
https://www.idevice.ro/
Hi,
The latest are section is the same as a blog page and it’s added into the template using the loop so it’s independent from the page builder above.
What you could do is to use a template without that sections and use a block to create it. Of course it will not look and function in the same way but will be the best approach for your needs so you can use a block set a number of posts from all categories, the latest articles sort order, give it a title like “latest articles” and set the pagination to load more or next/prev..
Hope this helps!
Thanks
I actually got around that issue by adding more sidebars, but now my main issue is :
Moving the theme to my main website, I realised that the sidebar isn’t hidden on the front page, although I used the code you provided. Furthermore, it seems that Google Ads set via widgets are not resized automatically, although the ads added via my ad server are, which is sort of weird.
Besides these, how can I make the article title linked within an article. Basically the title is just text now, inside articles, but I want the title to link to it’s respective article page.
Hi,
1. Please use this css to hide the widgetised sidebar on mobiles:
@media (max-width: 767px) {
.wpb_widgetised_column {
display: none;
}
}
2. I have noticed that you use the text widget to add your ads. Please use our widget or VC ad box element: http://screencast.com/t/gTiyQnewr
3. Unfortunately the theme doesn’t have an option for that but you can add it manually or try to find a plugin for that.
Thanks
Thanks for 1, that worked.
For 2, I have different ads added there, so how could I add more custom ad boxes in the theme panel?
And finally, in pages/posts with lots of comments, the pagination for comments does not work.
You can see that here : http://xzs.idevice.ro/tv-live-pe-iphone-si-ipad/ Clicking the Older Comments link does nothing.
Multumesc!
Adding to these:
1. is there any way to show a message when a coment has been posted? I’m using a cache plugin to handle the traffic and it purges cache only when articles are published, so when a user publishes a comment he just gets a reloaded page with no comment or message in it.
2. How can I make the borders separating widget blocks on the home page thicker ?
3. How can I add a separator betweet articles in the mobile page? Right now they are not separate and it is cumbersome to navigate through the front page.
4. How can I change the border color for the delimiters in the front page?
5. How can I separate the lines between borders in the front page? Mai exact, si imi cer scuze ca explic in romana dar mi-e mai usor, vreau ca pe prima pagina sa separ putin liniile care formeaza chenarele ce delimiteaza block-urile de articole. Ar fi mai simplu de inteles unde se termina un block si unde incepe altul.
Multumesc!
Hi,
You can add more custom ad boxes in theme panel like this: https://forum.tagdiv.com/topic/sidebar-ads/#post-21850
The comments pagination is on our issue list and we will fix this in next version.
1. You could try to use a plugin for this as the theme doesn’t have an option for it. I will also add this on our request list and will consider it for future updates.
2. You can do it via css and use this css for it: http://screencast.com/t/INtkUcs5 Adjust the css as you like.
.home .td_block_trending_now {
border: 2px solid red;
border-top: 2px solid red !important;
}
3. You can also do it via custom css: http://screencast.com/t/rjYtQIbyEn
@media (max-width: 767px) {
.td_module_5 {
border-bottom: 1px dashed #000;
}
}
4. From theme panel: http://screencast.com/t/nWYABx5vAe
5. You could also do it via css and add some space between the lines by applying a margin to the block container then a border to the inner block container, ex: http://screencast.com/t/lsi6sTBMsA
You need custom modification for this and I suggest you find someone to do it for you if you don’t know how to do it.
Hope this helps!
Thanks
Hello.
@1. That is really a shame, because with moderation it would be really useful, and adding an adition plugin would just need more resources…
2. It works, thank you!
3. Unfortunalte this one does not work at all, you can check it here : http://xzs.idevice.ro/
4. Thanks.
5. As I see in your picture, that ads a double line, I wanted to make it thicker overall on the home page, or separate the blocks, is that a possibility ?
6. Where can I set which sidebars are shown in these pages : https://www.idevice.ro/page/2/ ?
7. Is there a wide mode for pages? Could I set a specific page, or all, to be wider on desktop ? https://www.idevice.ro/tabel-jailbreak-si-decodare/
8. Can a sidebar be shown in the 404 pages ?
Hi,
1. Sorry for the inconvenience!
3. Please use it like this, I have also tested this and should work fine: http://screencast.com/t/r8A8usqb
@media (max-width: 767px) {
.home .td_module_wrap { border-top: 1px dashed #000; padding-top: 30px;
}
.home .td_module_mx1 {
border-top: 0px dashed #000; padding-top: 0px;
}
}
5. You could try it like this: http://screencast.com/t/0xqKxU7NkGa
.td-pb-border-top {
border-top: 2px solid #e6e6e6;
}
6. That is the sidebar set for the articles list section and you can change it from here: http://screencast.com/t/z5BapcId
You can’t set one for each page as you navigate from 1 page -> 100.. and so on…
7. You can edit the page and set it to full width(without sidebar) like this: http://screencast.com/t/nfXKVLCxE
If you use the VC page builder on a page then the sidebar and will automatically be removed and the full width of the page will be used.
8. There is no sidebar on 404 pages but you can to alter it’s template to also add it on 404 pages: http://screencast.com/t/T8qu09fL
Thanks
You can change this from theme panel:
* custom typography: http://screencast.com/t/cdmzviqTjC
* theme color: http://screencast.com/t/I5gqbmcUe
The list style was modified so you can use this arrow list format: http://screencast.com/t/MJVb7iNwl
See this post: https://forum.tagdiv.com/topic/bullet/
Thanks
3. That worked, thank you!
5. Actually, would it just be possible to add a spacing betweetn individual widget/content wrappers ? I think it would be easier than to modify just the borders.
6. Yes, but that sidebar is also shown on the main page, so I’d have to have double content to show everything I want. How could I show in page 2 – 1xxx a different sidebar ?
7. That’s just awful, I mean why would I want to hide the sidebar when I need it ?
8. Please tell me what values I should modify there.
Regarding quotes, the writing appears huge in the admin panel, how can I make it appear normal. Regarding the color, the quotes appear blue, while the color is grey..
Adding tot his, how can I show more recent articles on the front page list, and in page 2 – 1xxx. The same question applies to the archives, categories and so on.
If I use the ads system to show ads, even though they are not shown on mobile/desktop, they still load in the page’s source code. How can I block a desktop ad code from showing in the mobile source page since it’s not needed and it just takes longer to load the page with it. Thanks.
5. You can add a block to an individual row and set margin/border to the column: http://screencast.com/t/AlOEmZ9psE
For widgets you have to use custom css.
6. If you refer to the Latest Articles sidebar will be the same on all pages. The Theme doesn’t have an option for that area, it’s only possible with custom modifications on the code but unfortunately it’s not an easy task.
7. The theme was initially designed with an fixed grid layout and changing it would not be easy as it needs changing the width value for all elements on pages and for this you would need custom work, so the full width will hide the sidebar automatically.
8. You have to modify the template (404.php), you can check the other templates (post, pages) to see how the sidebar is defined.
9. Please edit type.less to change font for quotes in Panel: http://screencast.com/t/t5MpFmFpt
In backend the quotes have color of the Theme, how you can see that in the less file. Also you can change that in what color you want.
10. You can change the Latest posts number from Homepage Loop Filter:
http://screencast.com/t/c94aDRWFp6h
http://screencast.com/t/XDP3mHWtyZ
Or leave that field empty and change the number from Settings > Reading: http://screencast.com/t/dcAgP2WPWN
11. Google adsense should not load, do you refer to something else? please provide more details.
Thanks!
Hi,
Unfortunately for the moment that option is not working. Sorry for inconvenience!
Please add an extraclass to the widgets that you want to hide on mobile view: http://screencast.com/t/039hipRp0MKt
And use custom css to hide them using @media(max-width:767px) like this: http://screencast.com/t/Ulkr6LN2ru
@media(max-width:767px){
.home .test{
display:none;
}
}
Thanks!
Hi,
You get that error because the closing html tag is not present or there is a plugin that stops that appearing.
Check the footer file, the theme adds it there: http://screencast.com/t/qbqoPrJUZ2 if you have it the I suggest you try this without any other plugins active.
Thanks