Tagged: x
-
AuthorPosts
-
June 20, 2016 at 8:06 am #1050534
JurgaRParticipantHello,
I have been reading in the forums and found (and successfully used) the following code for Table of Contents within the same page (see below). However, the table of contents is very narrow, not all of the text is visible and it just looks strange. Is it possible to somehow make it full width (responsive, so that it’s full width, no matter which device is used). I am using widget area on the blog posts, just to be clear when I say full width, I mean as wide as the rest of the post :).
Thanks a lot!
Best regards, Jurga<div class=”x-toc”>
<h4 class=”h-toc”>Table of Contents</h4>
<ul class=”unstyled cf”>
<li class=”x-toc-item”>I. Planning
<li class=”x-toc-item”>II. Research
<li class=”x-toc-item”>III. Content + Messaging
<li class=”x-toc-item”>IV. Design
<li class=”x-toc-item”>V. Evaluation
<li class=”x-toc-item”>VI. Testing
<li class=”x-toc-item”>VII. Launch
<li class=”x-toc-item”>VIII. Support</div>
June 20, 2016 at 8:30 am #1050571
ChristopherModeratorThanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
June 20, 2016 at 9:43 am #1050699
JurgaRParticipantThe post is not online yet. My website is http://fullsuitcase.com
So you need login credentials as well?
Thanks a lot!
JurgaJune 20, 2016 at 10:42 am #1050862
ChristianModeratorPlease give us the URL of the post where you’ve setup TOC and also access to your WordPress admin.
Thanks.
June 20, 2016 at 12:42 pm #1051046
JurgaRParticipantThis reply has been marked as private.June 20, 2016 at 1:27 pm #1051142
RupokMemberHi there,
Thanks for updating. You are not using Cornerstone so it’s kinda infeasible to control layout as you can’t add custom class easily unless you edit HTML. However you can add this under Custom > CSS in the Customizer.
.x-toc { max-width: 450px; width: 100%; }Let’s change the max-width if needed or take it off. I have added that to restrict the width for larger screens.
Cheers!
June 20, 2016 at 2:37 pm #1051267
JurgaRParticipantSuper! Thanks a lot!
June 20, 2016 at 8:20 pm #1051729
FriechModeratorWe’re delighted to assist you with this.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1050534 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
