Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Code block element removing HTML tags on update page #1397670

    Yes, that’s fine, please close.
    Thanks again.
    Best,
    Keith

    in reply to: Code block element removing HTML tags on update page #1397668

    Hi Mike,
    Success!
    The shortcodes work perfectly, see the 3 pages linked below. (I will remove the date/time scripts tomorrow.)
    Thank you so much for your help! I know it’s been a less-than-easy problem and was beyond my skills.
    All the best,
    Keith

    in reply to: Code block element removing HTML tags on update page #1397664

    Hi Mike,
    Thanks! A good step forward as I can see it works on the test page, I see all three word clouds as I hoped I would.
    But unfortunately, it makes no difference on the test language page. I checked and even copied your updated Spanish script to the Spanish translation of the test-en page. It was still linked (WPML is not easy until you get used to it; I’m still learning).
    I also updated the EN, ES and FR home pages with your updated scripts, but same thing: no word cloud on the translated pages.
    I did edit them ‘independently’ (directly through the WP Pages screen, just switching language at the top to edit the French and Spanish ones). This is my preferred way of using WPML anyway and is how I’ve edited everything else on the FR and ES pages (including the small date/time script). But the translations will always be linked with the EN page somehow through WPML, which might well have something to do with this issue. But then again, the uncomplicated date/time script is fine.
    Don’t know where you’re located, but it’s getting late in Spain, so I may not be around for much longer today.
    Thanks for all your help so far. Really appreciated.
    Best for now,
    Keith

    in reply to: Code block element removing HTML tags on update page #1397652

    Hi again Mike,
    I have noticed this too. See my test page (link below). This has all 3 code blocks on the same page – English, Spanish then French. I checked. The code I’ve copied and pasted is correct for these blocks. BUT only the French word cloud is displayed for all three blocks on this page. French was the last code I pasted (but I only pasted it into the LAST code block on the page).
    I didn’t mention this earlier as it was not my specific problem, but it’s probably linked!
    I have included a link to my test page and a link to the three html source code files so you can download the code I have pasted (secure Tresorit link).
    I’ve also include a link to test pages that only show one cloud – so you can see the cloud and the words in it in the relevant language.
    But, as soon as I translate one of these ‘top level’ pages with just the word cloud (translating the special heading and text block elements) and even leaving the word cloud as it was (in English), the cloud disappears (see last link below).

    So frustrating! As it should be easy and works standalone. Look forward to your further input and possible solution with shortcodes (will need some help with that…).

    Best for now,
    Keith

    in reply to: Code block element removing HTML tags on update page #1397645

    Hi Mike,
    Thanks for getting back to me, especially on a Sunday!
    I must have introduced the problem with the French code block script somehow. I have now corrected it, but still it doesn’t display.
    To be clear, I am using WPML for the rest of the page, but I already have three versions of the word cloud (one in English, French and Spanish) from my external provider. I don’t want (or believe I need to) use WPML to translate the text in the script as I have the script with that text in French and Spanish already.
    The code block script now on the French page is the French version of the word cloud – I have just manually added it, replacing what was there from the English page.
    Same for the Spanish page: I have pasted the Spanish version of the word cloud into the code block.
    But the code for the French and Spanish word clouds refuses to display on the French and Spanish pages respectively. All is OK on the English page. And if I use script for another language on the English page, the word cloud is fine (e.g. English page with French word cloud: see the English page now).
    The French and Spanish word cloud code does work: if I double-click the html file for each, it opens in my browser and I see those word clouds without issue. But as soon as I used that code on the French and Spanish pages, no luck.
    And I can use the English script on all three language pages, and it will only display on the English page.
    So why does the code block work on one page (main language) but not on secondary language pages?
    Best regards,
    Keith

    • This reply was modified 1 year, 10 months ago by keithbaddeley.
    in reply to: Code block element removing HTML tags on update page #1397619

    Hi Mike,

    Thanks for your reply and sorry that you had to correct what I had entered in the code block on the English page. I used an external service to create this HTML for me and was told to just copy the code into the code block.

    I removed the code you highlighted from the English page and, as expected, it still worked on the English.
    I also added a code block with less code to display the date and time (just for testing purposes). You can see this on the English home page in the section “Your IT and business content translated, edited and proofread”: after this H2, there is the date and time (code block 1) and the English word cloud (code block 2, with your corrections).

    However, I still have the problem that the word cloud will not display on other language pages. Even before I start translating the French page (i.e. after overwriting the French page with the content from the English page using WPML’s “Overwrite with English content” button; so with the English and French pages exactly the same), the word cloud from code block 2 (same code as on the English page) is not displayed on the French page. The date and time from code block IS displayed, and continues to be displayed after translation.

    In summary: The far less complicated date/time HTML code block is displayed on both English and French pages. However, the more complicated word cloud HTML code block works on the English page, but is not displayed on the French page (or indeed Spanish), even when the code is exactly the same before translation.

    Why? As far as I know, I should be able to put any code on any page, irrespective of language, even different code on different language pages, and it should work (as it does with the date/time code block).

    Thanks for any light you can throw on this.

    Best regards,
    Keith

    in reply to: Code block element removing HTML tags on update page #1397337

    By the way, if I replace the HTML on the English page with the HTML for the Spanish word cloud, the Spanish word cloud is displayed, so I know the HTML code works.

    in reply to: Transparent and glassy header – tablets #997171

    Great, thank you, Mike, all displaying now as I want it too! Many thanks.

    Best regards,
    Keith

    in reply to: Transparent and glassy header – tablets #996763

    Hi Mike,

    Thanks for the quick response. That works great.

    However, I have set the burger menu icon colour to #3399FF Child Theme Options / Main Menu / Burger/Mobile Menu styling, which works fine on a smartphone (e.g. iPhone) but is white on a tablet (e.g. iPad). How can I get the burger menu icon to be #3399FF across mobile and tablet devices?

    Thanks again in advance.

    Best regards,
    Keith

    Thanks Jordan,

    Speedy response as usual. I actually added this so that it only changes on my About page:
    .page-id-191 .av_header_transparency .avia-menu-fx{
    background:#000!important;
    }

    Seems to have done the trick. Many thanks.

    Best for now,
    Keith

    in reply to: Links underlined in icon list before hover #978166

    Hi Victoria,

    Adding that to the Quick CSS worked a treat! Thank you so much for the quick response and support.

    Best for now,
    Keith

Viewing 11 posts - 1 through 11 (of 11 total)