Reduce padding at top of content area

More
5 years 10 months ago #47409 by Danimeeka
Hi,

My site is at historicwinton.org/hw-joomla/ . I would like to reduce the amount of space between the text at the top of my content area and the row above (user1 or header). I have tried this in custom.css:

.content_sparky .sparky_cell {
padding: 0px 15px;
}

where 0px is changed from 40px, but it makes no difference.

What would you advise?

Thanks,
Julia.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
5 years 10 months ago #47412 by milos
Hello,

Don't make space between the classes. This is the same container that has 2 classes. I mean the "content_sparky" is not inside the "sparky_cell". So, change it to:
Code:
.content_sparky.sparky_cell { padding: 0px 15px; }

Thanks,
Milos

Please Log in to join the conversation.

More
5 years 10 months ago #47414 by Danimeeka
HI Milos,

Thanks for your reply, but isn't that the same as my code?

Cheers,
Julia.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
5 years 10 months ago #47415 by milos
It's not the same. Also, I wrote in my first reply "Don't make space between the classes.".

Thanks,
Milos

Please Log in to join the conversation.

More
5 years 10 months ago #47416 by Danimeeka
Hi Milos,

Ok I get it now - thank you! And of course your code does work.

Cheers,
Julia.

Please Log in to join the conversation.

Time to create page: 0.262 seconds
Powered by Kunena Forum