CMS Development

J-Masterson
Participant

Vertical dividers between between rich text modules on landing page

SOLVE

Hello,

 

Does anyone know how to add vertical divider lines between rich text modules on a landing page? I'm only seeing an option for horizontal dividers in the Design Manager.


What I'm trying to replicate:

Landing Page - Vertical Borders.png

 

How the modules are currently set up in the Design Manager:

Flexible columns (split).png

 

Thanks in advance!

2 Accepted solutions
GRajput
Solution
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

Vertical dividers between between rich text modules on landing page

SOLVE

Hi @J-Masterson 

You need to go to the Design Manager and, in the "CSS Class" blank field on the right side of the Flexible Column, assign a unique name. After assigning "CSS Class" names to the 3 Flexible Columns, you will need to write the border-right CSS property for those classes. For single-column displays, use a media query to set the border to none.

GRajput_0-1736778111505.png

 

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!

 




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


View solution in original post

Jnix284
Solution
Hall of Famer

Vertical dividers between between rich text modules on landing page

SOLVE

Hi @J-Masterson no problem, sorry for the delay!

As @GRajput explained, you'll need to add the class to column first - then you'll define the CSS for that class with code like this:

 

.your-class-name {
  border-right: 5px solid red;
}

 

Simply change 5px to your preferred thickness and the color "red" to any hex code (e.g. #3D3D3D for a gray).

 

You can also define border-left if needed, depending on which column(s) you add the class to.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon

View solution in original post

5 Replies 5
GRajput
Solution
Recognized Expert | Platinum Partner
Recognized Expert | Platinum Partner

Vertical dividers between between rich text modules on landing page

SOLVE

Hi @J-Masterson 

You need to go to the Design Manager and, in the "CSS Class" blank field on the right side of the Flexible Column, assign a unique name. After assigning "CSS Class" names to the 3 Flexible Columns, you will need to write the border-right CSS property for those classes. For single-column displays, use a media query to set the border to none.

GRajput_0-1736778111505.png

 

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!

 




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


J-Masterson
Participant

Vertical dividers between between rich text modules on landing page

SOLVE

Thanks @GRajputI'm not very familiar with CSS- do you know where I could find the specific code to use? 

Jnix284
Hall of Famer

Vertical dividers between between rich text modules on landing page

SOLVE

Hi @J-Masterson I would use CSS to add a border-left and border-right to the center module - that would add the divider on each side.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon
J-Masterson
Participant

Vertical dividers between between rich text modules on landing page

SOLVE

Thanks @Jnix284, I'm not very familiar with CSS- do you know where I could find the specific code to use? 

0 Upvotes
Jnix284
Solution
Hall of Famer

Vertical dividers between between rich text modules on landing page

SOLVE

Hi @J-Masterson no problem, sorry for the delay!

As @GRajput explained, you'll need to add the class to column first - then you'll define the CSS for that class with code like this:

 

.your-class-name {
  border-right: 5px solid red;
}

 

Simply change 5px to your preferred thickness and the color "red" to any hex code (e.g. #3D3D3D for a gray).

 

You can also define border-left if needed, depending on which column(s) you add the class to.


If my reply answered your question please mark it as a solution to make it easier for others to find.


Jennifer Nixon