• dexter

    (@dexter)


    hi,

    you can find the blog here https://buckhornproductions.ca/blog.php – this is set up as Blog address (URI)

    the blog software itself you can find in this folder https://buckhornproductions.ca/blog – this is set up as WordPress address (URI)

    the problem now is, that when you click on “Previous Entries” or click on the link in the feed it show always the unformated blog directly in the blog folder. how can i link all the style related files, like css and img, to the files in the blog folder so that the blog looks like this https://buckhornproductions.ca/blog.php ?

    i hope you can see what i mean.
    thanks
    frank

Viewing 9 replies - 1 through 9 (of 9 total)
  • Les Bessant

    (@lesbessant)

    It’s the way you’re linking your stylesheet in the header. You have

    <link rel="stylesheet" href="css_js/global.css" type="text/css" title="Standard Ansicht" media="screen, projection" />

    That means that the page will look for global.css in a folder called css_js below the current folder. So when you’re at the home page, it works fine, and as soon as you go anywhere else, it breaks.

    Change it to

    <link rel="stylesheet" href="/css_js/global.css" type="text/css" title="Standard Ansicht" media="screen, projection" />

    And it should work anywhere on your site.

    Thread Starter dexter

    (@dexter)

    thanks for your reply, but i dont think this will solve the problem. i think it has nothing to do with the css file because when you click on “previous entries”

    the url seems to be wrong
    https://buckhornproductions.ca/blog.php/blog.php?paged=2

    instead of
    https://buckhornproductions.ca/blog.php?paged=2

    thanks
    frank

    moshu

    (@moshu)

    The two URIs in the Options > General cannot end with a filename, only a folder name.

    Thread Starter dexter

    (@dexter)

    awesome. thanks a lot!

    Thread Starter dexter

    (@dexter)

    unfortunatly a new link problem appears.

    when you click the comment button or the article headline you end up at the start page. it cut off the blog.php and just add the page id to the url

    https://buckhornproductions.ca/?p=36

    instead of
    https://buckhornproductions.ca/blog.php?p=36

    another problem is why is this page unformated? i dont get it. it should be affected by the general css file.

    thanks
    frank

    moshu

    (@moshu)

    My guess is “blog.php” is NOT a filename that is recognized by the WP engine as part of a theme or otherwise being a WP file – so it’s just ignored.
    Why don’t you use the index.php?

    Thread Starter dexter

    (@dexter)

    i am just a small step further. but still, my comment page does’nt look like it supposed to do.

    https://www.buckhornproductions.ca/blog/?p=40

    blog layout (still buggy)
    https://www.buckhornproductions.ca/blog/

    i replaced the original header in the theme folder with my header. i think there is the mistake, but i can’t see it. i have to use my own header, which is used on every page too within my website. it seem thats just a part of the css is used. the background and the navigations works fine, but the part around the content is missing. i have little doubts about myself, i mean it can’t be that difficult to apply a custom design to a comment page. maybe i am approaching the issue from the wrong side.

    moshu

    (@moshu)

    Any chance you were working from the “famous” K-theme?
    Do you have a single.php template file in yout theme? Does it have the same div ids and classes as your index?

    Thread Starter dexter

    (@dexter)

    oh i think i got it. i mean i dont know really what went wrong, but your question about using the kubrik theme brought me to give the classic theme a try. and it works.

    thanks for your time!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘blog style does’nt apply to the blog itself’ is closed to new replies.