mark l chaves
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Want Auto Capital First Letter of Username, First Name, Last NameHi,
Not sure if this is what you are looking for.
If you want to use CSS, here’s an example.
/* CSS */ .capitalize { text-transform: capitalize; /* Init cap first letter of every word. */ } <!-- HTML --> <p class="capitalize">this is cool</p>Here’s an example of init cap only first letter of sentence using JavaScript.
let someString = "this is cool!"; console.log(someString[0].toUpperCase() + someString.slice(1));Shout if you have any questions.
Forum: Fixing WordPress
In reply to: Google Mobile Usability IssueHi @samd2020,
Beautiful site BTW.
Here are Google’s recommendations.
1. Mobile touch target size is 48×48 pixels.
2. Targets should be 8px apart.Good luck!
Forum: Fixing WordPress
In reply to: Setting transparent backround on css codeHi @louel,
It looks like your FB icon has been saved with a white background instead of a transparent background. That means you need to re-edit the image and make sure you save it as a PNG (like you are now), but save it with a clear background (or no background colour). I hope that makes sense. Here’s a link to some examples.
https://balistreetphotographer.com/branding/#clear-logos
Also, please use the
CODEbutton for inserting your code when you post a message. It’s hard to read your code without doing this.Lastly, I see some random CSS in your page that looks like a mistake. Maybe you pasted it in by accident? Or didn’t add the CSS to the correct area? Here’s what’s showing up under your FB icon.
.widget-area, .about, .search-field { background-color: transparent; }For the above code, I used the code button in the post menu bar. π
Forum: Fixing WordPress
In reply to: Problem with Style.css – No Display Cross-out at the sale priceHi @vuminhquan,
Just to clarify, you want the original priced crossed out as in your error1.png. But, you need to have the styles that show up in error2.png. However, when your styles are applied as in error2.png, your crossed out price is no longer crossed out. Correct?
This is just a guess, in your CSS have you tried changing
.product_hover ._price_old{font-size: 13px;}to
.product_hover ._price_old{font-size: 13px; text-decoration: line-through;}Add
!importantif needed.If that doesn’t work, I suggest you use your Firefox or Chrome Developer Tools to inspect your crossed out price and figure the exact CSS is being used. Doing this will at least get you to start looking in the right place.
Since we don’t have access to the page that has this issue, we can’t do this for you.
Firefox Developer Tools https://developer.mozilla.org/en-US/docs/Tools
Chrome DevTools https://developers.google.com/web/tools/chrome-devtools/
Good luck!
- This reply was modified 6 years, 5 months ago by mark l chaves. Reason: Typo
- This reply was modified 6 years, 5 months ago by mark l chaves. Reason: Added guess on what CSS to change
Forum: Reviews
In reply to: [Trigger Browsersync] What a time saver!Hi Sami,
Yup. I totally agree with you on that. That’s why I mentioned loving the loose coupling with Browsersync and loving how I didn’t need to change my existing Gulp file at all to work with you plugin. Woo hoo!
Sorry if you thought I implied you should support flat file updates. I don’t think you should at all.
My closing notes are just a FYIs. The first point is so people know they need an additional setup if they want updates to HTML, JavaScript, PHP, and CSS files to trigger Browsersync. The plugin documentation implicitly hints that flat file updates do not refresh the browser by simply not mentioning these files in your Triggers bullet list.
It might be good to state this fact and your reasoning that kindly supplied above in your documentation. IMHO, clarifying this point would help plugin & theme developers know right away they will need to cover flat file refreshes on their own. Just my two cents π
Forum: Plugins
In reply to: [Trigger Browsersync] Undefined variable: emssageForum: Plugins
In reply to: [Ko-fi Button] Dev Code Branch for Adding Button to PostsClosing thread.
Forum: Plugins
In reply to: [Ko-fi Button] Dev Code Branch for Adding Button to PostsGreat news!. The source code for the Ko-fi Button plugin is now available on GitHub.
Main GitHub Repo
https://github.com/Ko-fi/kofi-wordpress-button
I forked a version. I’ve already submitted a PR (pull request) to apply code that makes the plugin compatible with PHP 7.3. It’s currently under review.
PR
https://github.com/Ko-fi/kofi-wordpress-button/pull/3
I have another PR waiting in the wings that will add code to display a “pretty” content box with the Ko-fi button at the end of very blog post. I’ll be testing that more tomorrow. After testing, I’ll submit a PR for it. Woo hoo!
Add to Posts GitHub Branch
https://github.com/marklchaves/kofi-wordpress-button-fork/tree/add-to-posts
Stay tuned on GitHub.
Forum: Fixing WordPress
In reply to: Alt on imagesHi @1973prouin ,
Thanks for supplying your webpage link and screen captures.
I reviewed your webpage and images in question. Confirmed. Your
alttags are non existent. So, whatever plugin or page builder you are using to generate your page is not bothering to write out thealttags andtitletags. My guess.You might want to
1. Create a test page with the default Gutenberg block editor.
2. Add an image block to the test page.
3. Select the same image.
4. Save & publish the page.
5. Then inspect the images to see if thealttags show up as a test.Also try to search on this problem in other forums or contact your theme/plugin author?
Here’s something I found on WordPress StackExchange https://wordpress.stackexchange.com/questions/253743/alt-title-tags-not-showing
Good luck!
- This reply was modified 6 years, 6 months ago by mark l chaves. Reason: typos
Forum: Fixing WordPress
In reply to: HTML / CSS QuestionHi @jlhoffman77 ,
Correct. Your question is theme agnostic.
But, it looks like you fixed it? Good job. π
Hey, if you don’t mind. Here’s a couple of suggestions for next time.
1. Maybe add a screen capture or at least be more specific. E.g. I couldn’t find what you were referring to until I clicked on an image. So, you were having an issue with the modal popup. Sharing your steps to reproduce the issue and using the correct terminology goes a long way.
2. Please use the “CODE” button when adding code snippets to your post. The “CODE” button is on the tool bar menu of your post editor.
3. I see that your modal popup is suffering from the dreaded auto scroll to top of page issue. I find this annoying. If you want a fix for that, please see my solution on CodePen https://codepen.io/marklchaves/pen/bGGEPZB
Enjoy!
- This reply was modified 6 years, 6 months ago by mark l chaves. Reason: Grammar fix
Forum: Fixing WordPress
In reply to: Text underlined, but why?Hi @kaanekici,
You can try to override the MSO CSS.
a:link, span.MsoHyperlink { text-decoration: none !important; }How to add custom CSS to WordPress
In the future try to avoid copy/pasting from external editors into the visual tab.
Good luck!
Forum: Fixing WordPress
In reply to: Avada Toggle Collapse TimingHi @julesrsuarez ,
Can you be more specific? Do you mean the dropdown menu toggle or the accordion toggle element? There’s a difference of course.
For dropdown menus, this is a common problem (not theme specific). Annoying isn’t it? π
Try this code.
<!-- HTML --> <ul> <li id="mmi"><strong>Hover Me</strong> <ul> <li>> Check</li> <li>> This!</li> </ul> </li> </ul>/* CSS */ /* Let's delay the main menu item fade while we're at it. */ #mmi { transition: all 0.7s ease 1.5s; } #mmi:hover { color: gray; transition: all 0.5s ease 0s; cursor: pointer; }Live demo on CodePen https://codepen.io/marklchaves/pen/KKKWGma
Good luck!
Forum: Fixing WordPress
In reply to: how to use additional css to add margin to group block and columnHi @thelmabrown ,
Thanks for the test page. Interesting findings. Thanks for sharing that.
BUT I still donβt know how to use the βadd CSS classβ in the visual editor to add padding to a paragraph.
Sorry that my How-to article didn’t answer your question. If you still need to know, I just posted this piece on DEV. Jump to the Gutenberg section where I explain how to add CSS code and a CSS class name to a Gutenberg block.
https://dev.to/marklchaves/the-staggered-layout-problem-mobile-stacking-order-3gnp/#gutenberg
I hope it helps!
Forum: Fixing WordPress
In reply to: Access problemHi @laminatesandblinds ,
Please see Method 2 if you can’t access wp-admin and can’t access your admin email inbox.
https://www.wpbeginner.com/beginners-guide/how-to-change-the-wordpress-admin-email/
Good luck!
Forum: Fixing WordPress
In reply to: how to use additional css to add margin to group block and columnHi @thelmabrown ,
Sorry for the delay. I’d have to see your code again. I tried to revisit your page, but it’s throwing a 404.
Please share a new link, if you still need help. π