Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi jpl1982,

    In your theme directory, open up style-default.css (/wp-content/themes/FlexiBusiness) –
    To remove the white background line, remove background:url("images/default/background.png") repeat-x scroll left top #000000;. That will take care of the white line you saw in the background.

    To remove the sidebar advertisements, you can do it via css, too. Open up style.css (not style-default.css) in /wp-content/themes/FlexiBusiness, and change line 610 to say display: none;

    To remove the author information and such above the post, back in style-default.css, make line 240 say display:none;

    Add display:none; to line 246, as well, to get rid of the “Posted in…” section.

    Add .content .post .navigation{displauy:none;} to a css file to remove the link to the previous article (in your example, it’s showing “Social Media”.

    In line 916 of style.css, add display:none; also. This will remove “Comments are closed”.

    That just leaves “Both comments and pings are closed…”, which you’ll have to change in the post.php file. Just open that up and search for that string. Strip it out (should be directly after <div class="navigation clearfix">....</div>).

    I hope that helps!

    [signature removed]

    Thread Starter jpl1982

    (@jpl1982)

    Hi Connor,

    Thnx for you quickly reply.
    Your reply worked out very well. The following problems are solved:
    – I removed the white background line
    – I removed the sidebar advertisements
    – I removed the author information and the “Posted in…” section

    I don’t know in which css file I should add .content .post .navigation{displauy:none;} to remove the link to the previous article (in your example, it’s showing “Social Media”. Which file should it be and in which line should I post it?

    I found the post.php file, but I couldn’t find the “Both comments and pings are closed…”

    Could you please help me?

    Kind regards

    Hi jpl1982,

    It actually doesn’t matter which css file you should add .content .post .navigation{display:none;} to (note, I had previously misspelled display). I would just put it at the bottom of either css file, that way it over-writes anything that comes before it.

    In page.php, is there <?php comments_template(); ?>? If so, remove that and that should take care of it!

    [signature removed]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to adjust/remove the items from the red squares?’ is closed to new replies.