• The image align is no longer working anymore since the upgrades in various sites of mine. If I do it with html it works. But since I wont be updating this site, someone with no html knowledge can’t do this so I need it to function but can’t figure out what is wrong. See below for example and what code I entered. Any help would be appreciated!

    NOT WORKING
    https://blog.kaneohebusinessgroup.com/about/

    Working with manual html
    https://blog.kaneohebusinessgroup.com/about/message-from-the-president/

    Code I entered into CSS
    img.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    padding: 4px;
    margin: 0 7px 2px 0;
    display: inline;
    }

    .alignright {
    float: right;
    }

    .alignleft {
    float: left;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • where ‘into css’ did you enter the code?

    into which of the css files?

    i can’t find this anywhere in the NOTWORKING link.

    maybe try again, and edit style.css of your theme; and this time really enter the alignment styles.

    and save the file after the changes.

    Thread Starter Dani

    (@dstolfi)

    I entered it into the style.css sheet. Just checked and it is there. You don’t see it?

    i checked with firefox web developer add-on (and searched the style sheets connected to your theme); it could not find these styles in the related files.
    also experimental adding the alignment code(s) to style.css of your theme aligned the image as expected.

    you would need to look for style.css of your theme;
    which you edit in ‘admin’ ‘appearance’ ‘editor’ – select ‘style.css’ from the list on the right.
    or edit this file /wp-content/themes/Hospitality/style.css

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘image align left/right not working since upgrade’ is closed to new replies.