1. mdes
  2. WP SMART EDITOR questions & features requests
  3. Wednesday, 06 December 2017
  4.  Subscribe via email
Hi,

Is it possible to change the CSS of the summary entry? This is because WP set the anchor target (i.e. the display position on the screen when clicking a summary entry) under the anchor id. I would like to add the following CSS code:

{
display: block;
height: 65px; /* same height as header */
margin-top: -65px; /* same height as header */
visibility: hidden;
}
Responses (2)
Accepted Answer Pending Moderation
Hi,
Thanks for contacting us here about this extension.
Yes, This is possible. You can add your css code to change the CSS of the summary entry.
Regards,
Accepted Answer Pending Moderation
Thanks for your reply.

I add the following CSS:

[id^="toc-"] {
padding-top: 120px; /* same height as header */
margin-top: -120px; /* same height as header */
}
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!