Article addon - show lead articles and intro articles - Forum | JoomShaper
Staff replied SP Page Builder

Article addon - show lead articles and intro articles

Asked by Robby 3 years ago Last activity 3 years ago

Is there a possibility with the Article Addon, to make the layout look like using lead articles (full width) and intro articles (in colums).

Or a workaround, where i use two Article Addons, showing same category, but in the first article addon i use ordering of Newest, showing only 1 article

and in the second Article Addon i use ordering of Newest, showing 5 articles, but skipping the first one

3 replies

Pavel
3 years ago · edited

Hi.

In both cases you will need CSS.

It is better to use the first case with one addon.

Add your own class to addon...

...and use a similar code

.my-class [class*="sppb-col-sm-"]:first-child {
    max-width: 100%;
    flex: 0 0 100%;
}

Robby Asked this

Thx,
I'll try it

The CSS, i can type it in the Template Style, custom CSS

or somewhere in page builder

Paul Frankowski Senior Staff
3 years ago · edited

Hi Robby,

About using css as you wish, you can add inside that page - Custom CSS area or you can use template global Custom CSS.
It doesn't matter, those are only few lines.

p.s.
Remember to create Blog view from Menu item as well, otherwise your url alias would be long and ugly! But I guess, you know how Joomla works.


Big thanks Pavel.

Log in to reply.