• Resolved aficionado

    (@aficionado)


    I’ve just begun customizing my category.php file, but i lack two things, that i cannot figure out myself.

    Please have a look at https://www.aficionado.dk/?cat=2

    1) I would like the separator line between the posts to disappear.
    2) I would like ALL the posts in the category to be listed, not just six at a time.
    3) I would like the posts sorted alphabetically.

    Can someone help me with this ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter aficionado

    (@aficionado)

    I’ve solved #2 and #3 by using “Custom Query String” Plugin.
    So only this separator line is annoying me now ??

    Thread Starter aficionado

    (@aficionado)

    Nobody can answer me this:

    Please have a look at https://www.aficionado.dk/?cat=2
    – I would like the separator line between the posts to disappear.

    ? Any help is appreciated.

    I browsed your page using ‘source view’ – are you using daisyraegemini template or gemini template? If so, I had a look at the original files and I couldn’t find h5 in the css, so I’m assuming that it can’t be a css h5 style markup.

    However, I did notice that underneath your h5 there’s div=class”storycontent” and in the css files there’s a bottom-border attached to it. Perhaps because you don’t have anything in between the div’s (storycontent) it’s moved up underneath the h5. If you put dummy text between the div’s maybe the line will drop accordingly.

    Just my thoughts… ??

    Thread Starter aficionado

    (@aficionado)

    Hello, i’m using the daisy rea gemini template.
    the h5 (in the css) is something i made, to get smaller subject fonts when looking through the categories (like here: https://www.aficionado.dk/?cat=2).

    I’m afriad i’m not wise enough on this subject, to know quite how to use then info you give me.
    Is there somehow you can rewrite your advise, so i understand what you mean ?

    Thx for your help!

    No problems. I’m using IE6 browser. Along the top there’s a tool banner with: File, Edit, View, Favourites, Tools & Help. Click on
    1) View – then…
    2) Source
    (Do this while you’re looking at web page!)

    This will bring up another window that shows you everything that’s “underneath” your active web page. All the coding. All your typed words. And how your web page is laid out. A lot of people use this “source” view to see how a particular page is designed & coded.

    I determined that you’re using diasy rae gemini template because I’ve already studied the template myself so I recognised the layout and the HTML coding. Using the above viewing formula, this is what I saw “underneath” your active web page, and what you wrote…

    <div class="post">
    <h5 class="storytitle" id="post-7">Cusano 18</h5>
    <div class="storycontent"></div>

    You’re asking how to remove the border “separator” from your Category titles. If you study your page layout, your category title sits between h5 tags.

    <h5 class="storytitle" id="post-7">Cusano 18</h5>

    Directly beneath that is your
    <div class="storycontent"></div>

    I believe your “separator” problem directly relates to the empty <div class="storycontent"</div>. If you were to put dummy text…

    … Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non…

    between the div’s, then the separator will be forced to the bottom of the text and not directly underneath your category title.

    Try it and see how you go. If you want to leave your page exactly like it is, ie: you’re not going to add any text beneath your Category Titles, try deleting the border in your css file (style.css) where it’s attached to the div “storycontent”.

    Don’t forget, if you do remove this border-bottom from your style.css, then it will affect all further posts.

    Thread Starter aficionado

    (@aficionado)

    Hello again.
    I’ve messed around with the css, and i can easily remove the border separator line there – but then it is removed everywhere on the site, front page etc (where ever there is a post).
    I only want this border separator line gone, when i’m looking on the ‘catagories’ pages. – Because i want them to be a list of the titles, of the posts.

    Anyway to remove the separator line, ONLY when browsing the catagories pages ?

    Thread Starter aficionado

    (@aficionado)

    Solved, used wp_category_post plugin instead, much better.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘About customizing category.php’ is closed to new replies.