Staff replied Templates

Disable box setting in Fortune template Events page

Asked by An 3 years ago Last activity 3 years ago

Hi there! Using Fortune template and I want to get rid of the box setting the events are listed in. Where do I find that code?

7 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me a screenshot of your issue?

-Regards.

Mehtaz Afsana Borsha Staff

Do you want to remove this whole portion?

https://prnt.sc/xgbuW-jrcQd4

Could you please mark it in your screenshot which portion do you want to hide?

An Asked this

This is what it looks like when I go in SPPB to edit the page.

Correct view of entire page as seen in SPPB edit:

But when it goes live, anything outside the box is cut off. I want the page to look like what it looks like when editing.

So yes, the boxed-in area needs to be coded to remove the sides that are circled in red. See image below of live webpage with red circles indicating what view is actually shown live:

An Asked this

Hello, no it is not fine on the desktop either. The sides are cut off as you can see in the example where the arrows are pointing. I think it's just an easy CSS fix but I don't know what CSS style is determining that the component should be boxed in instead of showing the entire space with background elements.

Here is the example:

Mehtaz Afsana Borsha Staff

Use this custom CSS

.view-article #sp-main-body{
        background-color: #dcfaff !important;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Log in to reply.