• Resolved MartaB

    (@martab)


    Hello WordPress Community!

    I have been working on developing custom WordPress themes all summer, and after making one successful, working theme, I have stumbled upon some problems with my second. I have searched everywhere to see if someone was having the same problem, but when I found nothing, I decided it was time to ask about it myself (although I am a bit nervous, to be honest!)

    So basically, the theme is fully developed in terms of layout. Everything is properly in its place, everything looks the way I want it to structurally. Perfect!

    The problem? It’s like my theme is not cooperating with WordPress’s Visual Editor. I am only working with Pages (not posts). Here are some problems I’ve come across thus far:

    • CSS specified for all images in style.css not applied to images added within the visual editor
    • Bulleted lists show up in the visual editor when applied, but do not appear on the actual webpage
    • Spacing in the visual editor is problematic – I have to double space in the editor in order for a single space to show up on the page, and sometimes just opening the page in the editor makes spaces disappear
    • Image alignment shows up in the visual editor when applied, but does not appear properly on the actual webpage (all images align left – no wrapping)

    I do not know if I need to add certain functions to the functions.php file in order to allow for a more seamless usage of the visual editor or if I need to specify some additional things in the style.css… I have no idea what the problem could be. Has anyone else had such issues?

    (Note: it is absolutely a must for the visual editor to work, as the client I am working for is not tech savvy, but is quite particular about visual layout. The simpler the better!)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter MartaB

    (@martab)

    Update: I was able to clear up the problem with the CSS styling and the images – it turned out to be an issue unrelated to whatever is prompting the visual editor to act strange.

    I have added a couple additional functions to the functions.php file (namely theme support functions), but nothing has helped as of yet.

    Thread Starter MartaB

    (@martab)

    I found out what the issue was: if you leave certain elements undefined in the style.css file (as in, you do not define how to align the images, how to add a blockquote, etc.) the tools in WordPress’s visual editor will not do it. They cannot “think” for themselves unless you tell them “what to think” I suppose.

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

The topic ‘Custom Theme not Working with Visual Editor’ is closed to new replies.