• Working off the Nest theme, I’ve run into a problem with a page that shows the posts of a certain category.

    I have managed to create a query that gives me all the desired posts. It shows the headline (which links to the respective single post page), it shows the date the entry was posted and it shows the post content itself.

    However, it is missing all the styling/formatting from my regular blog page: no font styles, no margins, no line formatting, no padding to create space between one post and the next.

    The code of the template I’m using can be found here: https://pastebin.com/YMViLWSZ

    What am I missing?

Viewing 9 replies - 1 through 9 (of 9 total)
  • A link to to your blog would be helpful also.

    Thread Starter bloggitivity

    (@bloggitivity)

    The build I’m working on is still local on my computer. The blog is currently running with a different page setup and a different theme. Sorry, could have mentioned that in the initial post.

    But any additional info you need I’ll be happy to provide as far as I can.

    With many themes a php statement is used to gather CSS data – or – A CSS stylesheet is directly called. Review the source of the differing page and then a test setup (theme unmodified) and you likely will have your answer to what needs to be added.

    Thread Starter bloggitivity

    (@bloggitivity)

    I’ve tried that. Unsuccessfully.

    The theme in question has no pages.php, so the index.php is the next one to look at, isn’t it?

    Overall, there are the following files:

    comments.php
    footer.php
    functions.php
    header.php
    index.php
    rtl.css
    sidebar.php
    style.css
    template-fullwidth.php (a template without a sidebar, unlike the default page with a sidebar and a narrower content column)
    template-links.php (calls up the blogroll)
    template-wp-easyarchives.php (not even sure what that does)
    … and two templates that I created myself

    So yeah, the index.php seems to be where the answer lies. Only that I can’t find the answer.

    Index.php looks like this https://pastebin.com/MnTp13Rq

    CSS is typically called near the top of your themes’s header.php file. Download the default theme to see this.

    Thread Starter bloggitivity

    (@bloggitivity)

    As much as I appreciate the spirit of trying to help, I’m looking for actual help, not vague soundbites.

    So if someone sees where I’m going wrong or where I’m missing something by looking through the two code batches above, please let me know what to put into the template file (and preferably where).

    If you need additional info, let me know.

    Perhaps what is needed is for the OP to review the information in the Codex and and learn it before asking for any additional help? You are using a custom theme and the developer of that theme is your point of support. Neither www.remarpro.com nor the WP community is familiar with nor do they support your customized theme. I have pointed you to a manner to discover how to resolve the issue and thank you for your reply.

    Thread Starter bloggitivity

    (@bloggitivity)

    Why don’t we leave the definition of what are appropriate questions to the moderators?
    And why don’t we leave petty arguments out altogether?
    I’ve your feelings are hurt because I don’t deem your answer or your manner of answering helpful, sorry.
    But I rather react to an answer by saying it didn’t help me, indicating that I’m still in need of help, than not answer and therefore make someone who might be able to help think that no additional tips are required.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Missing styles/formatting on category page’ is closed to new replies.