• Hello,

    I’m having this site and a bunch of problems with it.
    First of all, i was trying to adjust the titles for the blog post, and i have no idea what have i done: basically all the posts don’t have a body anymore.
    Look here to see what’s the problem:

    If you can please tell me the code and where to put in in the page.php ( i guess i have to put it there?.
    Also, i don’t get this:
    So i have web developer tool and i modify stuff in html. I know you can save only localy, but question is, how do you save your changes to being permanent? Ok, so i use FTP, but everything there is plain php. When i edit, i usually see the source code of the page. However, this cannot be found in the FTP folders.

    Thank you in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter mollymo10

    (@mollymo10)

    Ok so the site is:

    https://internationalaffairs.ro

    No idea what the hell have i done above. My bad haven’t slept for some days now..

    Hey Molly, wordpress renders pages by retrieving data from your database using PHP.

    So the HTML you are trying to edit is only rendered after you visit the page.

    What specifiably are you trying to edit?

    Thread Starter mollymo10

    (@mollymo10)

    I’m trying to reinsert the body here:
    https://internationalaffairs.ro/expert-britanic-%E2%80%9Eactiunile-lui-aliyev-in-cazul-safarov-o-eroare-strategica-grava%E2%80%9D/

    As you can see, the post is now sustained by the sidebar o.O I have no idea where did i modify the <div>. Probably i left an opening but really, i can’t see it.

    There are many problems at this site as you can see. The article’s titles are positioned like hell…It is very frustrating because i can make them functional by editing the html with Firebug or Web Developer Tool, but i have no idea where to place the new code, cause in FTP i can’t seem to find the same stuff.

    If you can please enlighten me in this matter.
    Is there any way to preserve the modifications that you make in html? Where do you add your modifications?

    For example, I want to adjust the title for the blog post for the link above. I can make that with html and the <span but that’s all. I have no idea where to go in FTP and to make this modification.

    Ok, so the way the page looks is controlled by your stylesheet. Found in your themes style.css file.

    So it would be something like this Site Root -> WordPress -> Wp-content -> Themes -> (your theme name) -> style.css

    To move the side bar to the right go around line 122 and change the CSS code the following

    .g160, .g320, .g480, .g640, .g800, .g960, .g80, .g240, .g400, .g560, .g720, .g880, .g960 {
        display: inline;
        float: right;

    }

    For example, I want to adjust the title for the blog post for the link above. I can make that with html and the <span but that’s all. I have no idea where to go in FTP and to make this modification.

    There isn’t anywhere via FTP that you can make this change, it would be made on the post page its self within the title.

    Login to your wordpress admin site and make the change there.

    Thread Starter mollymo10

    (@mollymo10)

    Thank you, did the trick!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to edit html?’ is closed to new replies.