Mr. Texas
Forum Replies Created
-
Fixed by stripping out all counter-related code:
/* === Custom List Settings === */ ol { margin-left:0; /* Remove the default left margin */ padding-left:0; /* Remove the default left padding */ } ol > li { position:relative; /* Create a positioning context */ margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */ padding:4px 8px; /* Add some spacing around the content */ border-top:2px solid #272727; border-left:2px solid #272727; background:#0e1014; } ol > li:before { /* Position and style the number */ position:absolute; top:-2px; left:-2em; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; width:2em; /* Some space between the number and the content in browsers that support generated content but not positioning it (Camino 2 is one example) */ margin-right:8px; padding:4px; border-top:2px solid #272727; border-right:2px solid #272727; color:#fff; background:#0e1014; font-weight:bold; font-family:"Helvetica Neue", Arial, sans-serif; text-align:center; } li ol, li ul {margin-top:6px;} ol ol li:last-child {margin-bottom:0;}- This reply was modified 5 years, 3 months ago by Mr. Texas.
So how do I get my CSS to use the standard internal counter?
So why is my custom global CSS Overriding the counter and failing to read the defined Start value from the WordPress block?
@joyously my theme does use the internal wordpress counter because when I remove the custom list code, it works just fine. So the question remains; how do I adjust the above code to adopt the counter values from a WordPress block ordered list start value?
Forum: Everything else WordPress
In reply to: Can’t do the most simple setting in WordPress?Uh oh, there is a problem. Even though the number setting is working in EDIT mode, when the website is live, it’s constantly resetting to 1 for each break. I believe this is due to my custom CSS. I’m curious, how would I modify this global CSS to allow the line settings I’m defining in the blocks?
/* === Custom List Settings === */ ol { counter-reset:li; /* Initiate a counter */ margin-left:0; /* Remove the default left margin */ padding-left:0; /* Remove the default left padding */ } ol > li { position:relative; /* Create a positioning context */ margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */ padding:4px 8px; /* Add some spacing around the content */ list-style:none; /* Disable the normal item numbering */ border-top:2px solid #272727; border-left:2px solid #272727; background:#0e1014; } ol > li:before { content:counter(li); /* Use the counter as content */ counter-increment:li; /* Increment the counter by 1 */ /* Position and style the number */ position:absolute; top:-2px; left:-2em; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; width:2em; /* Some space between the number and the content in browsers that support generated content but not positioning it (Camino 2 is one example) */ margin-right:8px; padding:4px; border-top:2px solid #272727; border-right:2px solid #272727; color:#fff; background:#0e1014; font-weight:bold; font-family:"Helvetica Neue", Arial, sans-serif; text-align:center; } li ol, li ul {margin-top:6px;} ol ol li:last-child {margin-bottom:0;}- This reply was modified 5 years, 3 months ago by Mr. Texas.
Forum: Everything else WordPress
In reply to: Can’t do the most simple setting in WordPress?Good lord. This is so frustrating; you’re right. I was always looking at the block properties and values and options under the main block in the middle of the screen because I only use settings on the right for page values (I never set block values there). Wish They added the value under the “…” option for a list block.
Thanks for the quick and correct response. Still facepalming on this.
Forum: Plugins
In reply to: [Contact Form 7] Changing the Color of Text Fields/Text?Hey Neil, I just went back and re-read your response and realized you answered my question with your 2nd link. My apologies – all I reviewed were the bulleted items. This is what I needed. For future reference, I recommend putting the link to the style details in as the 1st bullet point since IMO it’s the most important (and caused me to completely overlook the answer as a whole since it was an internal link).
Unfortunately, setting the wpcf7 style seems to have no impact (at all) even when put in the custom CSS settings (for my Zeen theme). Even stranger, the comments section font is dark and the EMail/Name font is yellow – even though they’re all Contact Form input fields. I assume this means there’s some global override? Although one would think putting custom CSS in for wpcf7 would be the ultimate override…
Forum: Plugins
In reply to: [Contact Form 7] Changing the Color of Text Fields/Text?So I have basic HTML & CSS skills, but I can’t figure out how to override the global theme details, etc. specifically for the contact form. I figured the author would know this. I’ve already tried putting HTML directly into the contact form itself and it’s overridden by the Global settings. As such I don’t know what CSS references control the font/background of the contact form details.
So, can I not put the settings in the control form details itself, and do I have to do it in the global styles? If so, what’s the CSS reference I need to do to ensure the styles only impact the contact form?
Forum: Plugins
In reply to: Plugin to add responsive menu/sidebar navigation for Page Headers?Anyone?
Forum: Plugins
In reply to: [Contact Form 7] Contact Form not showing "Success" after SubmitBTW I switched to Easy Contact Forms by ChampionForms. It’s fantastic; far superior to Contact Form 7. Problems solved!
Forum: Plugins
In reply to: [Contact Form 7] Contact Form not showing "Success" after SubmitGotcha; what change did you make to the template/page to adjust for this requirement?
Even if I fix it, is there a way to have it bring up another page after a successful submission? That might be a better workaround for us…
Forum: Plugins
In reply to: [Contact Form 7] Contact Form not showing "Success" after SubmitInteresting; so does the message appear below the SEND button? You can see the visual layout of my submission at http://www.painpillod.com/registry-submission/.
Forum: Plugins
In reply to: [Contact Form 7] Contact Form not showing "Success" after SubmitI’m not following any of the solutions here. sashafiero, what exactly do you mean?
Also, llliW, I went to that thread and it’s very old; none of the code references are proper anymore, so I don’t know what changes you are referring to.
Still stuck with no solution. The author also seems disinterested in this issue as well as he has ignored the request to review and comment on this thread.
To reiterate, regardless of using CAPTCHA or not, when the submission is processed, after the spindle disappears, nothing happens (e.g. no confirmation it was complete). Note when I have CAPTCHA showing, it changes the values, but that’s it.
I would prefer to show a “Thank you!” screen rather than seeing a little “done” response, but right now, I can’t even get that…
Forum: Plugins
In reply to: [Contact Form 7] Contact Form not showing "Success" after SubmitI went ahead and EMailed the Author, asking him to look at this thread. Note there was an update to the control this morning (3.4.1) but it didn’t address the problem. Asking people who have very detailed and complex sites to “switch to another theme” is not a realistic solution. We need another option.
Of course the green “success” pops up just fine on his site when you use the plugin, so it’s more than likely something with our themes… (but we need to troubleshoot the problem, not abandon our themes)
Forum: Fixing WordPress
In reply to: How do I manually define the shortlink for a posting?Note the old 225 post was deleted long ago.