Content dock - Edit spacing

Hi,

I am using Content Dock with Global Block, to have more control.
What content block displays is drastically different from what content lock displays.

Content Dock settings don´t offer a lot of options, but I was able to inspect the element and change the padding (for example), but inspecting shows me that there is extra margins that I don´t know how to edit.

I have text and two buttons, but the space between buttons is huge, but on my original Global Block there´s no space between buttons. Doesn´t make a lot of sense.

I would like to know what CSS code I can add to control this spacing.
(on inspecting on Chrome it is showed as p)

Can you help?

Hi @PanInternational,

Thank you for writing in, please check all your text content and make sure all your <p> tags are closed. You can use this tool here for checking HTML markup.

If that is not the issue, try pasting your shortcode within the HTML editor, and not with Rich Text editor. Rich Text editor has a feature of wrapping your text with <p> tag automatically, and that might be causing the issue.

Cheers!

Hi @friech

As I said, the content was created as a global block, so the content dock text widget just have the code.

This is what I see in the global block vs what i see in the front end.

Hi @PanInternational,

I understand, but everything is rendered in the frontend as one document, so if you have a syntax error somewhere (even if it is in the header) it is possible that it will affect the other content.

Would you mind checking the credentials you provided above? That seems to be a Subscriber account with no access to the admin dashboard.

Thanks,

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.