WordPress.org

Ready to get started?Download WordPress

Forums

Page2cat: Category, Pages & Posts Shortcodes
[resolved] Style of heading with showauto (7 posts)

  1. dpsgn2
    Member
    Posted 1 year ago #

    Hi,
    I have a small problem with the headings of my pages.
    I integrates the showauto shortcut into my archive template

    <div id="content" class="narrowcolumn" role="main">
    <?php if (have_posts()) : ?>
    <?php do_shortcode('[showauto]'); ?>

    All in all this solution works. However, the style of my headings is not correctly displayed. The headings are formatted as h2, but on my page the do not have a style at all.

    You can see the Problem here: http://dpsg-neuhausen.de/scoutpress/menu/juffis/
    The right style is like this: http://dpsg-neuhausen.de/scoutpress/abenteuer-leben/

    Do you have any idea?

    http://wordpress.org/extend/plugins/page2cat/

  2. swergroup
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, it's a bug. I'm going to fix this and other small glitches and re-release the plugin later today.

  3. dpsgn2
    Member
    Posted 1 year ago #

    Thanks a lot.
    I really appreciate your quick support!

  4. swergroup
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome!

    Just committed version 3.0.6 and it should fix a lot of things. We'll revise our testing setup in the next versions, we missed way too many things this time.

  5. dpsgn2
    Member
    Posted 1 year ago #

    Thanks. The Headings are now correctly displayed. Theres is just a small remainig problem. It seems like WordPress now ignores the padding command. There is no space between the headings (not just the first one, but all) and the following text.

  6. swergroup
    Member
    Plugin Author

    Posted 1 year ago #

    The [showauto] shortcode will now display pages with this markup (pseudocode):

    <h2>the_title()</h2>
    <div class="aptools-category-content">the_content()</div>

    As far as I can see on your pages, I think you need to act on h2 margins instead of padding. You can style directly those elements, or you can wrap the shortcode in another div/section and style it.

    Hope it helps.

  7. dpsgn2
    Member
    Posted 1 year ago #

    Thanks a lot. The margin for h2 was not defined in the style.css. Don't know how it works for the other pages, but it works :-).

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.