Paragraph settings
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 751
- Thanks: 16
I want them to look like this.
<space>
2nd paragraph.
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
like me, you know that "suddenly it is broken" is not good. It means that the problem does not come from the template but may be from something that has been installed later (or from a setting that has been changed)
There is no option for the paragraph (for now), you can go in Parameters >> custom css and write something like this
p {
margin: 0 0 10px 0;
}
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 751
- Thanks: 16
My reason was, when adding a wrapper at the top of the template, then adding image buttons for things like schedule an appointment or social media, the default 9px spacing (from bootstrap) applied to that area even though they were images on a single line. I didn't make the paragraph text connection til just now.
I've attached the exported gabarit so you can see what I'm talking about - the wrapper-topbar (it also happened elsewhere but I'm not sure where - perhaps in wrapper-map, specifically the mapaddress module position.
I tried adding the override CSS to the specific wrapper, but it never seemed to work; only if I did it in the global area.
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
I will not comment the fact that you have created yourself this problem
you can target your wrapper paragraph like this
#wrappername p {
margin: 0 0 0px!important;
}
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
- trogladyte
- Offline Topic Author
- Platinum Member
- Posts: 751
- Thanks: 16
Why is it that the original code, added to the Custom CSS field with the specific wrapper, block or element didn't do the job? Adding custom CSS anywhere but the global field never seems to alter the output.
A good landing is one you can walk away from.
A great landing is one where you can reuse the aircraft!
Please Log in or Create an account to join the conversation.
If I'm correct, you shall find the answer in the documentation : the custom css of each block is to put directly a property, and not a rule
this is removed in the V4, you shall only use the custom css from the parameters
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.