norricorp
Forum Replies Created
-
Many thanks for this.
Yes, it does work, sometimes slightly slower than I imagined. Also, I have set up the email subscription form in several places on the page with different methods and one of those was never going to work.
This worked – thank you very much
Just to update the above.
Currently I have the subscription form in two places. One is as a widget in the footer. This works in that mailhog captures two emails – one sent to the subscriber and one to admin. But I notice that the audience page in the dev env is not updated to show the new subscriber. Is that a bug?
I also realised that the confirmation message I wanted in the previous post was a bit unclear. I wanted a message or popup on the browser to show success. Later the user will get the email confirmation.
Now the next problem. The other place I have the subscription form is as custom html where I copied the html from the widget. I did this so I could change the layout of the form. But this does not trigger any emails to be caught by mailhog. So will this approach not work?Hi @kishanranawat,
I was looking at the html generated for the form and the problem is the br tag with the label tag. The input tag is with the label and so the break pushes it on the new line.
I obviously can’t change the auto generated form. Or can I? Rather than use the shortcut to the form, can I use take the html and use that within a custom html block?
RegardsHello @kishanranawat,
sorry for taking so long to reply but I was waiting for the Astra theme suppliers to get back.
Now they are saying that the layout of the form depends upon the plugin generating the form.
Unfortunately the page is on a VM on my PC so is not publicly available.
I looked at the html for the form.
Can I change the “es_subscription_form” class by adding a additional caa to that class so that it ises a multi column grid layout rather than single column?Forum: Fixing WordPress
In reply to: equal height columns in gutenbergHi @mrtom414,
thank you for the reply.
Each column has a white background, with the column on top of an image background.
And each column is a different height.
I can make them same height by adding an empty paragraph block but that does seem rather clumsy and inelegant.
This also changes the margin for the button which in each column. When the columns were different heights, both buttons were on the base of the column. Adding an empty paragraph to the shorter column causes the button on the unchanged column (the longer column) to have a margin and so not rest on the base of the column.Just upgraded to 2.3.0 of ultimate member and it does appear on initial look to be OK. I did back up beforehand.
The problem I am having is that having upgraded the plugin and then updating the database successfully (according to the log), the plugin insists that it still needs upgrading.
So there is a problem somewhere.Forum: Themes and Templates
In reply to: [Astra] Add element to gridThanks @bsfherman,
I now see what you mean and that has sorted it.
RegardsForum: Fixing WordPress
In reply to: Remove gap between header and bodyJust to add, the astra theme forum page is not monitored and has very few replies. Many questions, no replies.
So overall astra may not be the best theme to use.Forum: Fixing WordPress
In reply to: Remove gap between header and bodyHi @contentiskey
perhaps a better question to ask is “Can this be a characteristic of the theme or is it something that WP does – ie home page has different layout to all other pages by default”Forum: Developing with WordPress
In reply to: Debugging functionsThanks for this @bcworkz and it was very helpful.
From the articles I had read, I simply used “jQuery” instead of “$” at the start of function but every $ had to be replaced. I did not use noConflict.
I also added some console logs so that I could see if it was even being called.
And it is and it works.Forum: Fixing WordPress
In reply to: this block contains unexpected or invalid contentYes that would be a good idea.
You mentioned a whitelist of what is acceptable – could you point me to this?
From my limited experience of trying to add attributes to the tags, it will be a very short list.Forum: Fixing WordPress
In reply to: this block contains unexpected or invalid contentHi @bcworkz,
that is a useful idea. Not sure I will get the same look as the table block unless I also copy / add the css from the table block as well.
What I was trying to do with the table blcok was fix the size of the column. I notice that the width of the first column depends in the amount of text in the second column. I had a page with several tables and wanted them to line up in terms of column size.Forum: Fixing WordPress
In reply to: Add element to gridDone though sadly the astra forum appears to be less active than the mainstream forums – very few recent queries have replies.