Welcome, Guest
Username: Password: Remember me

TOPIC: Change Parameter "Margin-top and Bottom" Title

Change Parameter "Margin-top and Bottom" Title 2 years 3 months ago #3707

  • Andreas
  • Andreas's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hi,
i use the module "Adverts" at home from My Page and i would like change the parameter for Margin-top and Bottom from the title from 10px to 3px.
I cant found the css for setting via Firebug.

Thanks and best regards

Andreas
The administrator has disabled public write access.

Change Parameter "Margin-top and Bottom" Title 2 years 3 months ago #3709

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2760
  • Thank you received: 292
  • Karma: 40
You can change it in the jomClassifiedsAdverts.css file from the below path.

Root-->Modules-->Mod_jomclassifieds_adverts-->assets-->jomClassifiedsAdverts.css

Thanks.
Last Edit: 2 years 3 months ago by Super User.
The administrator has disabled public write access.

Change Parameter "Margin-top and Bottom" Title 2 years 3 months ago #3710

  • Andreas
  • Andreas's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
hi,

i can not found parameter for margin top and bottom in thge CSS???

Thanks and Best regards

Andreas
The administrator has disabled public write access.

Change Parameter "Margin-top and Bottom" Title 2 years 3 months ago #3711

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2760
  • Thank you received: 292
  • Karma: 40
Actually in the bootstrap css file, the line-height is set to 40px for the h3 tags. Also in the same file, for h1, h2, h3, h4, h5, h6 tags the margin top is set to 10px.

You have to overwrite these properties in jomClassifiedsAdverts.css as below.

Find the below class in the jomClassifiedsAdverts.css file
div.jomClassifiedsAdverts .gridview h3 {
	margin:5px 0px;
}

And replace it as following.
div.jomClassifiedsAdverts .gridview h3 {
	margin:3px 0px !important;
        line-height: 10px !important;
}

Thanks.
The administrator has disabled public write access.

Change Parameter "Margin-top and Bottom" Title 2 years 3 months ago #3712

  • Andreas
  • Andreas's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Karma: 0
Hi,

i insert your code in the jomClassifiedsAdverts.css but the problem is already present. :(

Thanks and kind regards

Andreas
The administrator has disabled public write access.

Change Parameter "Margin-top and Bottom" Title 2 years 3 months ago #3714

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 2760
  • Thank you received: 292
  • Karma: 40
Please send your site Joomla admin access and FTP details to This email address is being protected from spambots. You need JavaScript enabled to view it. . So that we will check and update you.

Thanks.
The administrator has disabled public write access.
Time to create page: 0.309 seconds