Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3372846
Table Content
Closed

Comments

  •  11
    LillaGreen started the conversation

    Hi,

    how to add table content while using Soledad via Element and Bakery Page builder for writing a blog post? Do you have penci elements for that? Thank you!

  •  2,485
    PenciDesign replied

    Hi,

    You can use the following shortcode to display the Table of contents on your post:

    penci-toc

    Regards,
    PenciDesign.


  •  11
    LillaGreen replied

    It doesn't work - how should I add this to the blog post?? Are there any options to change the colours and style of this ? And is there a way I can put this code that it implements for all blog posts so that I do not have to edit 250 posts??

    penci-toc
  •  2,485
    PenciDesign replied

    Hi,

    By default, the Table of contents will auto-insert into the post content. You can modify it by going to Appearance → Customize → Table of contents → General → Enable Support in Post Types: select "Posts",

    Navigate to Table of contents → Font Sizes & Colors: you can change the table of content style in this section.

    Regards,
    PenciDesign.


  •  11
    LillaGreen replied

    But how can I turn on this function or I should add this shortcode to every post?

  •  2,485
    PenciDesign replied

    Hi,

    When you've selected the post type, the Soledad theme will auto-insert the TOC to all the posts that meet the TOC requirement.

    Regards,
    PenciDesign.


  •  11
    LillaGreen replied

    but how to activate this option? thank you

  •  2,485
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Table of contents → General → Enable Support in Post Types: select "Posts".

    Regards,
    PenciDesign.


  •  11
    LillaGreen replied

    Thank you, it worked out.. I have one more question - although the floating function for the table content is set to NONO, it still floats ..

    2174773991.png


  •  2,485
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    .penci-toc-container-wrapper.penci-sticky-toc {
        display: none !important;
    }

    Regards,
    PenciDesign.



  •  11
    LillaGreen replied

    Thank you!