Forum

Thread tagged as: Question, Runway, Gallery

Add padding to gallery list.

Hello, I am using the <?php perch_gallery_albums(); ?> function to create a list of picture galleries, however I am running into the problem that when this list is created, there is no padding on the left side, so the text is pressed up against the side of the screen.

https://i.imgur.com/EDWekcc.jpg

In the image you can see that the header text starting with "Vermont" is pressed against the side, as well as what seems to be a bullet point above that, and the description text below the heading.

How can I go about adding some simple padding to the left side? Do I need to edit a perch template, or my CSS sheet?

Nicholas Leyland

Nicholas Leyland 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

That would go in your CSS.

I fixed the padding problem, but how do I get rid of that bullet point that is automatically added in?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

that would also be your CSS. Lists have bullets in HTML, if you want to remove it do so in your CSS.

Thanks so much! You all are great!