Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • This might be what you’re looking for:

    https://extensions.joomla.org/extensions/content-&-news/blog/6659/details

    I haven’t tried it myself yet, but I will.

    Thanks t31os!!!!
    Probably wasn’t working because I was writing .gallery-item.
    Anyway, I installed the plugin cleaner-gallery and that helped me as well.

    When I viewed the source, I found this comment below the style tags:
    <!– see gallery_shortcode() in wp-includes/media.php –>

    So I changed the CSS in media.php and then it works fine. However, I don’t think that is the right way to do it. It would be overwritten with next update and I don’t want to mess with anything except my own theme.

    But there should be a way to tell the gallery to use style.css instead of the style in media.php.

    Anyone knows how? Perhaps something to add in functions.php?

    Thank you acurran!
    I have two “identical” sites, but two different languages. Couldn’t figure out why the swedish one worked and not the english. Of course my template was called home.php on the english site. I used swedsih for “home” on the one that worked and therefore it didn’t conflict.

    I was just about to reinstall the whole english wp, when I found this thread.
    Thanks a lot!!!

    ??
    3 minutes after I posted the last post, I solved the problem, at least for myself:)

    I found this in my stylesheet:
    p, ol, ul {
    margin: 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.5em;
    }

    I simply removed the “p” and now it works fine.
    I don’t know why… do you?

    I guess we should just not try to format the “p” in the CSS, unless we really know what we’re doing. (this was in already in the theme I picked)

    Thank you “sidneyvollmer”!!!

    I have two different websites, both on the same kind of server, using the same version of wordpress.
    They use two different themes though. Only one of them has the problem with the paragraphs. So the problem is probably in the CSS.
    Just gonna figure out where.

    There will simply be one big paragraph of the whole post or Page, it completely ignores my rowbreaks. Even when typing in the html.
    “<BR CLEAR=left>” works though, but next time I go in to edit, it is GONE.

    I think one of the great things with wordpress is that you create the CSS and the templates and then you just go ahead blogging. Without having to write any code. So that you can make websites for people who don’t know how, but they can still edit their “news” or have a blog on their site.

    Anyways… I will keep trying to find what to fix in the stylesheet.
    Please let me know if anyone figures this out.

    Thread Starter Malin

    (@neostoric)

    Okay, the problem is solved, here’s the code:

    <?php
    if($post->post_parent)
    $children = wp_list_pages(‘title_li=&child_of=’.$post->post_parent.’&echo=0′); else
    $children = wp_list_pages(‘title_li=&child_of=’.$post->ID.’&echo=0′);
    if ($children) { ?>

    <div id=”rightpadbox”>
    <h2>
    <?php
    $parent_title = get_the_title($post->post_parent);
    echo $parent_title;
    ?>
    </h2>
    `

      <?php echo $children; ?>

    </div>
    <?php } ?>

    I got it from a post by “converting2wp”, check it out here

    Thread Starter Malin

    (@neostoric)

    I have another blog at https://www.audio4com.se/produkter and it works fine there. I upgraded it today to 2.3.1 and the static front page option is still there.
    The one I have problem with I installed from scratch, no upgrade. And I installed it once again today… but it still doesn’t work.

    Maybe I have to upgrade to make it work?

    Thread Starter Malin

    (@neostoric)

    I do have the Pages, in fact I have 15 Pages!
    Don’t know what to do now. Could you or somebody else check it out to see what’s wrong?
    https://www.audio4com.se/test

Viewing 9 replies - 1 through 9 (of 9 total)