Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Remove padding in a js_side_top_stacked module

8 years 4 months ago
  • Pete's Avatar
    Topic Author
  • Pete
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
Licenses:
JomSocial Active

Hi,

I have all of my sidebar modules ie, 'Hello Me', 'Latest Photo's' etc published on my jomsocial stream in js_side_top_stacked modules positions.

I have a few images that are also published using js_side_top_stacked... my question is;

Using Custom CSS classes, how can I target just the js_side_top_stacked modules that have images published in them to take out the padding so that the module just shows the image across the full width and hight of the js_side_top_stacked module, ie, no white space.

I can see using the inspector that it's some thing related to :

<div class="joms-module--stacked">
            <div id="545" class="joms-module__header"></div>
            <div id="joms-app--545" class="joms-module__body" style="
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;</div>

because if I set the padding to 0px I get what I want, but I can't seem to target one or two specific js_side_top_stacked modules to use these settings.

Can you help and tell me what Custom CSS I need to use to create this effect.

Many thanks
Pete

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Pete,

on your code you can see the ID of module, you can use that ID to manage the style module as you want, eg like this :

#joms-app--545{
padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

I hope it will help

8 years 4 months ago
  • Pete's Avatar
    Topic Author
  • Pete
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
Licenses:
JomSocial Active

Brilliant, thanks Dimas...

I'm now left with a header which in the inspector is:

div#545
.joms-module__header {
padding:8.65248px;
}

How do I target that, to get rid of the header space which would leave me with exactly what I want?

Thanks

8 years 4 months ago
  • Pete's Avatar
    Topic Author
  • Pete
  • Offline
  • Fresh Boarder
  • Posts: 15
  • Thank you received: 2
Licenses:
JomSocial Active

Brilliant, thanks Dimas...

I'm now left with a header which in the inspector is:

div#545
.joms-module__header {
padding:8.65248px;
}

How do I target that, to get rid of the header space which would leave me with exactly what I want?

Thanks

8 years 4 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Pete,

Please give me the screenshoot which part do you want to get rid?
have you tried to reduce the margin?

thank you!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW