Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

3 Neutral

About newcoder1010

  • Rank

Recent Profile Visitors

24,562 profile views
  1. Yes to match that. font-family in browser console does not show the valentine option. How do I import the font in my css file?
  2. Hello, <h2>OUR VISION</h2> h2{ text-align:center; font-size:55px; letter-spacing:0.06em; font-family: Arial,Helvetica,sans-serif; } How can I make the heading like this one I attached? Its not working for me. https://drive.google.com/file/d/11xwfFoAlU7oIzOLERUSJ48xcnS22alZk/view?usp=sharing Thanks!
  3. <span class="field-timer-jquery-countdown is-countdown" data-field-timer-key="node-7-field_countdowntest2-0-2FME63kDm44" data-timestamp="1606508506"><span class="countdown-row countdown-show3"><span class="countdown-section"><span class="countdown-amount">20</span><span class="countdown-period">Hours</span></span><span class="countdown-section"><span class="countdown-amount">19</span><span class="countdown-period">Minutes</span></span><span class="countdown-section"><span class="countdown-amount">53
  4. This is my site. Countdown 2 - width and padding are not working for me. .countdown-section {background: #060695;margin:10px; width:100px; padding:10px;} Also, not able to centering the count down: .countdown-row {width:50%;margin: auto;}
  5. Hello, I have a count down in jQuery. However, UI does not look good. Hard to read the numbers. Because jQuery is running, I am unable to inspect it in chrome dev tool to style it. If you could help me with some styling, it would be very helpful. There are some styling being applied by the plugin but unable to inspect the stylings because element is keep changing. How can I style it to overwrite it? https://drive.google.com/file/d/14ylHEPKuG173TZUN1XmjyXfQz7MtsV9I/view?usp=sharing <div class="field-timer-jquery-countdown-led green is-countdown" data-field-timer-key="node-193-
  6. Hello, String value1 = " text odt.odt File format of .odt is not valid." System.out.println(value1); I get this: Now how can I store the second line "File format of .odt is not valid." into a different variable(i.e. value2)?
  7. https://docs.google.com/document/d/19mUV6yJ6aVSmEHZm3haZi2I9PrV_BB2-s88RuaiMOfk/edit?usp=sharing
  8. Hello, HTML: <div class="col-md-6 col-lg-6 col-xs-12 col-sm-6"> <div class="field1"> <img src="/sites/default/files/2020-10/plumbing-dc_1.png" width="100%" alt="Your Plumbing" class="img-responsive"></div> <div class="footer"><h2>YOUR COMPANY NAME WHO WE ARE SUMMARY GOES HERE </h2></div> </div> I like to place the footer element on the bottom of the field1 class. Below css works except for the background color. I do not see the bg color. I can see the bg color if I remove the margin-top. .footer { background: red; z
  9. Hello, https://www.w3schools.com/java/showjava.asp?filename=demo_hashset_add package Hash; import java.util.HashSet; public class HashSet { public static void main(String[] args) { HashSet<String> cars = new HashSet<String>(); cars.add("Volvo"); cars.add("BMW"); cars.add("Ford"); cars.add("BMW"); cars.add("Mazda"); System.out.println(cars); } } Error: "The type HashSet is not generic; it cannot be parameterized with arguments <String>" Please advise!
  10. .portfolio was the parent class of the the field. Now I changed it to the .field img and it worked. Below was helpful. object-fit: cover; Thanks!
  11. I changed image height to 100%. It is bit better. If I keep over flow -x or not, it does not make difference. How can I make the image 300px height without stretching the image? Instead, I like to show part of the image by cropping top and bottom 10%. Perhaps something similar to background image position.
  12. https://drive.google.com/file/d/1KXOhEJYt8SJdX0VY4FrAdMc1_q4RTM5p/view?usp=sharing <div class="field field--name-field-image1 field--type-image field--label-hidden field--item"> <img src="/sites/default/files/2020-09/house-5.png" width="1895" height="837" alt="test" typeof="foaf:Image" class="img-responsive"> </div> .field.field--name-field-image1.field--type-image.field--label-hidden.field--item { height: 300px; overflow-x: hidden; background: red; } .portfolio img { border: 0; height: auto; /* width: 50%; */ float: left; height
  13. img{overflow-x: hidden; border: 0; width: 50%; float: left; height: 500px;} It did not make any difference whether I keep overflow-x:hidden; or not.
  14. Hello, <div class="field field--name-field-image field--type-image field--label-hidden field--item"> <img src="/sites/default/files/2020-09/singe-house-5_0.png" width="1895" height="837" alt="uyg" typeof="foaf:Image" class="img-responsive"> </div> HTML has the image url and the original dimension. I cant change that. I like the image to be 500px height and 100% width. However, when I give 500px height, it does not look good proportionally. Height:auto it changes height by itself but I need fixed 500px height. img { border: 0; width: 100%;
  15. Hello, HTML <section data-quickedit-entity-id="block_content/56" id="block-portfolio1" class="col-md-12 col-lg-12 col-xs-12 col-sm-12 portfolio-one portfolio contextual-region block block-block-content block-block-contentb542f11a-fbd5-4ebe-8669-f57d84c42429 clearfix" data-quickedit-entity-instance-id="0"> <h2 class="block-title">Portfolio 1</h2> <div data-contextual-id="block:block=portfolio1:langcode=en|block_content:block_content=56:changed=1600966868&amp;langcode=en" data-contextual-token="tCd_R3tnlsGqN3Xah99BjMqmcUUXb1goeAqz0iUHUOg" class="contextual"&g
  • Create New...