Hide Modules For Certain Articles - Question | JoomShaper

Hide Modules For Certain Articles

G

gralfitox

Template 1 year ago

template newskit, though I think this could be useful for any template.

Well, I have several categories in my site, Every category has its own entry in the menu, so articles are shown in their category-page in blog layout.

The point is that I want to use pagebuilder for some articles, just to take full advantage of its potential and show awesome articles, but, this potential is limited by the sidebar wich is configured to be shown on the category and appears on single articles as well.

Is there any reasonable way to hide the sidebar on these articles? pagebuilder articles, but keeping them into the desired category?

thanks in advance

0
18 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #144979

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. Can you share a url? And share a screenshot that you want to hide. I think you need to apply css code using parent class of this article itemid.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
G
gralfitox
Accepted Answer
1 year ago #145003

The point is I want to show the PB article fullsize window, no sidebars no blank spaces right and left

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #145019

Share your page links

0
G
gralfitox
Accepted Answer
1 year ago #145060

take a lokk on hidden content

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #145145

Sorry to say that, for the specific article cannot possible to make full-width. If you add this css code then all of article will be full-width under this menu.

.view-article.itemid-546 div#sp-right {
  display: none;
}

.view-article.itemid-546 #sp-main-body .container {
  width: 100%;
  max-width: 100%;
}

.view-article.itemid-546 #sp-main-body .container .row {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  align-content: space-around;
}

.view-article.itemid-546 #sp-main-body .container div#sp-component {
  width: 100%;
  max-width: 100%;
}
0
G
gralfitox
Accepted Answer
1 year ago #145146

where do i have to add this code?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 year ago #145148

Template settings > custom css box.

0
G
gralfitox
Accepted Answer
1 year ago #145152

maybe to create a new category for PB articles only is a good fix for that?

what if I create a category for PB articles? what code should I use them?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #145154

If I may add smart idea.

If you need modules published beyond article or page area, in template module positions and have FULL control where are they displayed and where are not - you should use Advanced Module Manager (RegularLabs) it's would be you swiss knife tool, all in one. Then you would be able to assign modules to selected articles, categories ect. far more than Joomla offers by default.

0
G
gralfitox
Accepted Answer
1 year ago #145158

nice thank you, but will this extension allow me to use full width?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #145159

This extensions is for different purpose.


Full width depends on template styles, container width or/and settings. Your question is too general to answer unequivocally.

0
G
gralfitox
Accepted Answer
1 year ago #145411

Well, I am creating a new category and a new item menu for it, how can I show anything in this category fullsize?, I mean all articles in this categories, will be PB articles, so, I want to show fullsize

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #145414

ONLY in that category?

If yes, it request using extra Custom CSS - how good (or bad) you are in that topic?

0
G
gralfitox
Accepted Answer
1 year ago #145415

yes, a category intended to show PB articles.

well, not so good

i was wondering, using a copy of the template and asigning it to this new menu item with new config, I mean changing layout.... would do the trick?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #146144

Yes, it's also OK.


Or by using HDAnyCode module with custom CSS code, but code customizations goes beyond JoomShaper support.

0
G
gralfitox
Accepted Answer
1 year ago #145960

done, copied newskit template and customized the layout, the section that contains the content now only contains content column, left and right columns deleted, seems nice, take a look https://www.opticos-optometristas.com/optica/flash.html

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #146145

I agree, looks nice :))

0
G
gralfitox
Accepted Answer
1 year ago #146150

thank you

0