JoomShaper is sponsoring Joomla World Conference 2017  Details

Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

First child margin

Featured Lock Resolved Issue
Hello,

Since I have updated to the latest version of the SP PageBuilder, the margin values of my first rows are ignored. This is apparently by this code:

#sp-page-builder .page-content .sppb-section: first-child {
Margin-top: 0;
}


How do I do that, the values of the Rows are used?

3 Answers

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
You can paste this code in your template.css file. if you are using Joomshaper template which built with helix3 framework. then paste this css in following file: templates/yourtemplate/css/custom.css (if custom.css file isn't exist then create it).

- Thanks

max77771

More than a month ago #Permalink
Hello,

I think they have misunderstood my problem.

The code has been added since the last PageBuilder update

[Code type = "markup"]
#sp-page-builder .page-content .sppb-section: first-child {
Margin top: 0;
}
[/code]

This will overwrite my margin values in the Rows. I do not want to have a margin-top of 0, but the values given in the row settings (see appendix).

Attachments (1)

  • picture.png
    picture.png 89.3 KB

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Here you can do two things.
1. open the following file /components/com_sppagebuilder/assets/css/sppagebuilder.css on 45 no line you will get:


#sp-page-builder .page-content .sppb-section:first-child {
margin-top: 0;
}


remove this code.


2. Use empty space addon before first section use the px of space whatever you want.

- Thanks


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 116
Toufiq

Toufiq

Total Accepted Answers: 45
Shibbir

Shibbir

Total Accepted Answers: 35
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 10
Pavel

Pavel

Total Accepted Answers: 2

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam