I am currently working on a project that is based on WordPress and as an e-commerce platform, it uses WooCommerce. I made a product migration from an old site that has the product titles written in uppercase. Currently I have this html code for the titles inside a product: So I want the product title to appea…
Tag: css
PHP calendar to block some not available dates
I’m designing a little PHP calendar for a little booking system. The final feature is to block some not available dates, that I have stored in a PHP array. What is the best way to achieve this? Please I need some recommendations about how to do this. Thanks if I have an array in php with dates in this f…
htacess redirecting to js & css files
This is my typical PHP MVC Structure: This is my htaccess configuration: Write now my all requests are going through index.php. In my project files, I am accessing my css & js files located in Resources folder like following: This result in following error I tried to add following Rewrite rule in htaccess…
Bootstrap 4 navbar-toggler button doesn’t work when located at specific sites
At first, my navbar in ADMIN desktop view is like this. This works without any problems. The “add” button is only seen by admin, like the “edit” button from every product. When in …
How to link CSS with PHP?
I’m beginning to do HTML, CSS and PHP and I can’t have a clear cut answer on how to add CSS to my existing PHP file: I would like the verbs to be displayed in blue, which needs tobe done in PHP, according to what I have read, however I can’t get it to work. I can’t seem to specify
Text color change in the table [closed]
I want to change the color of the text in a td element in html. It works while loading the page, but after the page is …
if/else with setInterval auto-refreshing and on click refreshing event jquery?
Struggling to get this to work properly…Making an if/else statement with setInterval that if class is clicked, content refreshes, else content auto refreshes after a specific time period. This is what I have for just auto refreshing atm (which works perfectly): What I’ve tried to get a “clic…
Problems with CSS search results on web sites [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question bro, if I may ask I have a CSS problem on the web, if I search the result of the web from Goo…
How do I load an External CSS Style Sheet UNDER an IF condition in CodeIgniter
Here is the server versions I know you might need: CodeIgniter Version: 3.1.9 PHP Version: 7.3.6 I am new to php and web design in general. This is particularly true when it comes to CodeIgniter’…
How to make a popup open for an individual slide rather than all of them at the same time on click?
Using php I have created several popups, that I want to appear once the button of any slide is clicked. The modal (simplified) looks something like this @foreach($products as $key => $product) …