Forum Replies Created

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

    (@sg16)

    Figured it out after looking through more codex pages!

    If anyone else ever have the same problem, have a look at this link:

    https://codex.www.ads-software.com/Changing_The_Site_URL

    I couldn’t download the config.php from the external host, but had the functions.php for my custom theme on my PC , so edited the file locally (added the lines of code as specified in the link above) and replaced the functions.php for the theme in the themes-folder on the external host in Filezilla.

    Worked like a charm !

    In filezilla, I couldnt download and edit the config.php file, so I edited the funcions.php file in my custom theme by adding :

    update_option( 'siteurl', 'https://example.com' );
    update_option( 'home', 'https://example.com' );
    • This reply was modified 8 years, 6 months ago by sg16.
    Thread Starter sg16

    (@sg16)

    Hi,

    Thanks for the quick response! I am quite new to all this, so will definitely look into the debugging tools.

    I managed to fix my problem by changing the format in the wp-post options to pre-formatted and then format the text manually rather than using the custom paragraph format. The format for the text in my css is now:

    #body-prosjekt pre{
    			display:block;
    			position:absolute;
    			width:300px;
    			height: 500px;
    			font-size:13px;
    			line-height:20px;
    			left:520px;
    			top:40px;
    			white-space: pre-wrap;       /* css-3 */
    		 	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    			white-space: -pre-wrap;      /* Opera 4-6 */
    			white-space: -o-pre-wrap;    /* Opera 7 */
    			word-wrap: break-word;

    This seem to be working, if anyone has the same problem as me!

    Thread Starter sg16

    (@sg16)

    Yes, if I change the position:absolute the problem dissapears, however, this is the only way in which I’m able to position the items where I want them on the page.

    Unfortunately I’m building the theme on a localhost, so can’t link to anything.

    What I want to achieve is to have the text from a post positioned to the left of an image gallery (tiled) from the same post, so something like this:

    .____________________________
    |..images....................|    HEADER
    |............................|    text text text text
    |............................|    text text text text
    |............................|    text text text text
    |............................|    text text text text
    |............................|    text text text text
    |____________________________|

    If I change the position of the body to relative or any of the other options, it jumps below the images like this:

    .____________________________
    |..images....................|    HEADER
    |............................|
    |............................|
    |............................|
    |............................|
    |............................|
    |____________________________|
                                      text text text text
                                      text text text text
                                      text text text text
                                      text text text text
                                      text text text text
                                      text text text text

    Does that make sense?

    Thread Starter sg16

    (@sg16)

    Figured it out! Just copied the img src into the codes provided in the context – fairly logic, I’m just a bit inexperienced with all of this !

    Thread Starter sg16

    (@sg16)

    Thanks everyone! I’ve set up a local server and building the site from there, which seem to work very well!

    Thread Starter sg16

    (@sg16)

    Thank you!

    Thread Starter sg16

    (@sg16)

    Ah, I was afraid that would be the case, I have browsed through the link above already and searched in the support forum for similar cases without any luck.

    I do have the backup of the wordpress files from 2012, would these be possible to use somehow?

Viewing 7 replies - 1 through 7 (of 7 total)