Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. BGB

    HTML & CSS Mobile navbar menu

    To make your code mobile responsive, you will need a breakpoint. @media screen and (max-width: 480px) { /* Your code here */ } For better understanding please read this article.
  2. BGB

    CSS How to adjust the spacing in dotted border

    Paste your full code.
  3. BGB

    JavaScript Can I select an element by "role" or "data-test-id"?

    Here - [data-test-id=giftWrap]{ background:blue; }
  4. BGB

    JavaScript Code to set display to block isnt working

    Try this - <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Title</title> <style> .hide{ display: none; } </style> </head> <body> <button onclick="show()">Lorem Ipsum</button> <p class="hide" id="hidden">Sit...
  5. BGB

    JavaScript Code to set display to block isnt working

    Your function should be like this - function show () { document.getElementById("hidden").style.display="block"; }
  6. BGB

    HTML & CSS Horizontal Scrolling issues

    Check your html page. The link which does not work has anchor tag, if you will remove the anchor tag than it will work like the way you want.
  7. BGB

    Hello CF

    Welcome to CF strativab. Hope you will find CF helpful and enjoy the community with learning :)
  8. BGB

    JavaScript Can you tell me what this code says/does?

    Please do not re edit your post or delete your post even if you have resolved the problem.
  9. BGB

    HTML & CSS How to properly edit code to remove a broken image link?

    If you don't want to show the image and want to remove it from your page just delete the class container, if there is no other elements in it. If there are other elements in your container class than just delete the a tag that is covering the image.
  10. BGB

    HTML Need help with HTML/JS height checker

    What was wrong with the code that I have posted before! Here - <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="Content-Type" content="text/html"/> <title>Height Checker</title> </head> <body> <center> <script src="Supermantest.js"></script>...
  11. BGB

    JavaScript JS/HTML height checker

    You can update this as you want - <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Height Checker</title> <meta http-equiv="Content-Type" content="text/html"/> <style> * { box-sizing: border-box; } body {...
  12. BGB

    HTML & CSS Creating responsive form with display: flex?

    Paste your website address here.
  13. BGB

    HTML & CSS Creating responsive form with display: flex?

    Try to add this - .col-row-downside { width: 100%; display: flex; flex-direction: column; }
  14. BGB

    CSS Hide WIX css

    .heading and .s-separator are both same class. You are trying to hide same class one above another. You will either need or you can try - .widget.s-separator{ display: none !important } or .s-background.s-separator{ display: none !important }
  15. BGB

    HTML & CSS Show one image on phone, and another photo on desktop?

    If you want to load different images for different screen than you have to change the media query and than load the image on that screen target. @media (min-width: 768px) and (max-width: 1024px) { .main-img { background-image: "your image src" } } @media (max-width: 767px) {...
  16. BGB

    CSS How do I only show the first element using css

    I am just telling you where to put the code. It is on your hand either you will make id static or dynamic.
  17. BGB

    CSS How do I only show the first element using css

    I am a bit confused now. In my video the first video is showing and other are hidden. What else you want to show more?
  18. BGB

    CSS How do I only show the first element using css

    In that case don't put the show class in html. Than nothing will be visible.
  19. BGB

    CSS How do I only show the first element using css

    See the video(zip attached). If this is what you want than add the below code in your production.css file below body class(line 280)- .c-video-section-wrap{ display:none; } .show{ display:block; } And add show class in your html file(line 738)- <div class="c-video-section-wrap...
  20. BGB

    CSS How do I only show the first element using css

    What is the css file name?
Back
Top Bottom