
SitePoint Forums
672 FOLLOWERS
A community for web designers and developers to discuss everything from HTML, CSS, JavaScript, PHP to Photoshop, SEO, and more. SitePoint is the largest online community of web professionals with top quality tutorials and our wide range of educational products.
SitePoint Forums
2h ago
<div id="DivID">
......
</div>
CSS
.row.none{display:none}
.row.flex{display:flex;}
On clicking a radio button I want to replace the class “none” with “flex”.
I have tried using classList.addClass() and classList.removeClass() to no avail.
Any help appreciated.
1 post - 1 participant
Read full topic ..read more
SitePoint Forums
1d ago
How can I get more visitors to my site and encourage them to stay longer?
I have Matomo tracking installed on my server, and it shows that visitors are coming from China and France. They are accessing the site through non-official domains or directly via the IP address. I want them to visit through the official domain (quickmash.cc). I have blocked some of the “non-official domains” in hopes of addressing this. Additionally, visitors are only staying for 0-10 seconds, which could indicate bots. I do have a bot-excluder plugin, though these are likely not large known bots. The content on the pa ..read more
SitePoint Forums
1d ago
Many years ago back in the time of DOS there was a specific graphics program that produced a variety of impressive sample graphics, such as a kaleidoscope. It ended with a religious statement, but I say that just to help identify it. I have not seen a Windows version of it. Does anyone remember the DOS version?
2 posts - 2 participants
Read full topic ..read more
SitePoint Forums
1d ago
I have a problem verifying email address with script below, its not working even if i enter correct email format, it doesn’t move to next hidden div
first i want to do empty-check and then validate if entered email is in good format
<script>
$('#fobtn').click(function(){
var email = $('#email').val();
var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if( !$(this).val() ) {
$("#error").html("email needed cant leave this blank");
return false;
}
if(!regex.test(email ..read more
SitePoint Forums
1d ago
can anyone help me make this bootstrap badge redirect me to the link i want?
not sure what im doing wrong can someone explain please it’s also inside a table!
<td><label href="myurl" >Link</label></td>
5 posts - 2 participants
Read full topic ..read more
SitePoint Forums
2d ago
Hey everyone,
I’m facing an issue with my WordPress site where the custom font (Poppins) is not loading properly. Instead, it’s defaulting to another font on all pages. I’ve already included the Poppins font in my site’s code, but it’s still not appearing as expected.
Here’s what I’ve tried so far:
I’ve made sure the Poppins font is properly included in my site’s CSS and HTML.
I’m using Litespeed Hosting and have the Litespeed Cache plugin installed.
I’ve cleared the cache multiple times, both in the plugin and on my browser.
I even checked the site in Incognito Mode, but the issue persists ..read more
SitePoint Forums
2d ago
Feeling overwhelmed by balancing patient care and administrative tasks? Fortunately, Vmedx`s Remote Patient Monitoring streamlines your practice, providing 24/7 support to reduce stress and improve patient outcomes.
Be Undaunted
More patients? Furthermore, more burnout? It doesn’t have to be that way. Instead, streamline patient coordination, support, and monitoring so you can focus on tasks that grow your business.
1 post - 1 participant
Read full topic ..read more
SitePoint Forums
3d ago
Hi everyone,
I’m working on dynamically generating SVG graphs using PHP, and I’m encountering an issue when trying to make them responsive. I’ve followed the advice on (view.sitepoint.com/make-responsive-svg-graphs-infographics/) and set the viewBox to make the SVG scalable. However, when the graph is resized, it doesn’t scale properly and some elements, like text, don’t adjust accordingly.
Here’s a simplified version of my PHP code that generates the SVG:
<?php
$width = 500;
$height = 500;
echo '<svg width="100%" height="100%" viewBox="0 0 ' . $width . ' ' . $height . '" xmlns="http ..read more
SitePoint Forums
3d ago
I have a few images of different sizes. How do I display those so they adjust to different screen sizes ? Do I use flexbox, grid, masonry layout…etc? Some of the images have different aspect ratios than the other.
1 post - 1 participant
Read full topic ..read more
SitePoint Forums
3d ago
i’m trying to apply custom code to the product page in a Kajabi online course, just that page and not the lesson pages and vice versa. But i can’t find the unique identifier for the product page. or for any kajabi page. anywhere. Ive scoured the elements. Can someone please point it out to me?
embedding custom code in any course page by default applies it to every page in the course.
is there another way to go about this? im out of ideas.
1 post - 1 participant
Read full topic ..read more