Il Domandatore Posted May 31, 2021 Share Posted May 31, 2021 I'm on the submenu and I find the text on two rows. I have provisionally solved it by putting width: 305px. The site has an automatic translator, this solution is not good. How do I get the correct width of the submenus? Then I manage what is needed. Link to comment Share on other sites More sharing options...
niche Posted May 31, 2021 Share Posted May 31, 2021 As in the width of the longest text in a group of buttons? Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 1, 2021 Author Share Posted June 1, 2021 (edited) Yes, the text is longer than the width. I would like the width to adjust automatically, because each language has a different text width. Edited June 1, 2021 by Il Domandatore Link to comment Share on other sites More sharing options...
dsonesuk Posted June 1, 2021 Share Posted June 1, 2021 (edited) By not! setting a fixed width. Use a min-width:, use white-space: nowrap; will prevent menu text wrapping to two lines. With no fixed width the container will be the length of non wrapping text it contains. https://www.w3schools.com/code/tryit.asp?filename=GR47OKSYTJKD Edited June 1, 2021 by dsonesuk Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 1, 2021 Author Share Posted June 1, 2021 (edited) Does not work. The Awesome Font disappears, some texts are cut off or do not appear. I tried to put! Important, but nothing. The original image is where I put the English language. https://postimg.cc/gallery/tGwWb7P Next time, put the text in the code. I am new, find something in the text is difficult to interpret and how to write it is more. Thank you for the courtesy. Edited June 1, 2021 by Il Domandatore Link to comment Share on other sites More sharing options...
dsonesuk Posted June 1, 2021 Share Posted June 1, 2021 Listen to own advice, Next time! try providing example relevant code OR link, NEVER I did this, why this happens, it worked with that, how to fix, never ever images. Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 1, 2021 Author Share Posted June 1, 2021 Be patient dsonesuk. You look angry, I don't do it on purpose. Slowly I'm figuring out what to share on the forum. Last time I shared something on this forum, I received endless phishing attacks in the email and now they are contacting / spamming me on Facebook. Which did not happen before. Later I will post the code. If you explain me better how to search in the code, I immediately find the part to put. it's a big mess to collect code snippets through the Chrome developer tool. Link to comment Share on other sites More sharing options...
niche Posted June 1, 2021 Share Posted June 1, 2021 (edited) He's saying post code you have. Just the relevant parts, please. If you don't have any, say so. We'll refer you to the appropriate tuits. Sending us a link is not the same thing. Thoughtful, timely solutions deserve well constructed questions that demonstrate diligence on the part of the OP. EDIT: BTW, suk gave you an answer. Telling anyone their answer doesn't work is bound to be problematic. Edited June 1, 2021 by niche Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 2, 2021 Author Share Posted June 2, 2021 11 hours ago, niche said: Telling anyone their answer doesn't work is bound to be problematic. Sorry I did not understand. 11 hours ago, niche said: Just the relevant parts, please. Can you teach me how to do it? Through the Chrome developer tool, I have a great deal of double code. Irrelevant to what I have selected. What do I copy? Just CSS, or even HTML? I am a beginner and I don't understand how to work on codes. I modify them, but it takes me a lifetime. Remembering codes is not my best value. Six months and the site is still on the graphics ... Please don't digress with protective answers about historical or misleading users. Those weren't the questions. 12 hours ago, niche said: Thoughtful, timely solutions deserve well constructed questions that demonstrate diligence on the part of the OP. that's what I'm asking; quality responses. Even giving the proper answers, I found over 99% low quality or misleading answers on the forums. Do you believe it? Link to comment Share on other sites More sharing options...
niche Posted June 2, 2021 Share Posted June 2, 2021 That goes to suk’s point. If you have to use your developer tools to isolate relevant code, the code in question probably isn’t yours. That’s an issue, but not the point that I and presumably suk need to make. Put simply, ask questions about your own code, or code that you’ve made your own by working to understand the properties and methods of the code you want to use. As I’ve heard suk say, “it’s magic!”. Unless, you do the tutorials. That how magic becomes code for everyone that’s willing to put in the time and effort to learn basics before the advanced. Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 2, 2021 Author Share Posted June 2, 2021 Yes, I'm on Wordpress, editing the theme and design of a plugin (it shows a language bar). How do I choose the code if I don't understand the Chrome developer tool? Ahaha. In the last 4 days, I have created 33% of the custom CSS code, because I am starting to understand something. Only 75 lines in 6 months of work (about 5 cm per line on the subject). If I had to edit the CSS code without the chrome developer tool, I wouldn't have done a single line. I remember the CSS if I have a real-time view of the changes. Do you have a guide to understanding the chrome developer tool? I found some useless developer tool guides online. Things I had figured out on my own ... I have duplicate codes like this; .fa-angle-down: before { content: "\ f107"; } .fa-angle-down: before { content: "\ f107"; } A clarification; I studied four times the CSS of W3School, remember a small part. Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 2, 2021 Author Share Posted June 2, 2021 I hope that this code helps; .switcher .selected a:hover { background: #642e8b; } .switcher .selected a:hover { background: #642e8b; } .switcher .selected a:hover { color: #b180d5; } .switcher .selected a { border: 1px solid #642e8b; color: #ffffff; padding: 3px 5px; width: 211px; } .switcher .selected a { border: 1px solid #642e8b; color: #ffffff; padding: 3px 5px; width: 211px; } .switcher .selected a { padding: 0 !important; border: 0 !important; } .switcher .selected a { text-decoration: none; display: block; font-size: 24px; } .switcher a { text-decoration: none; display: block; font-size: 16pt; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .switcher a { text-decoration: none; display: block; font-size: 16pt; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } a:hover { color: #642e8b; } a, a:hover, a:focus { text-decoration: none; -webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; -ms-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; } a:hover { color: #13aff0; } a:active, a:hover { outline: 0; } a:hover, a:active { outline: 0; } .dropdown-menu, .dropdown-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } a { color: #ffffff; } a { color: #333; } a { background-color: transparent; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } user agent stylesheet a:-webkit-any-link { color: -webkit-link; text-decoration: underline; cursor: auto; } Inherited from div.selected .switcher .selected { font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: 2px; line-height: 74px; } .dropdown-menu, .dropdown-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div.switcher.notranslate .switcher { font-family: Arial; font-size: 16pt; text-align: left; cursor: pointer; overflow: hidden; width: 223px; line-height: 17px; } .switcher { font-family: Arial; font-size: 16pt; text-align: left; cursor: pointer; overflow: hidden; width: 223px; line-height: 17px; } .dropdown-menu, .dropdown-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from li#menu-item-1660.menu-item.menu-item-type-gs_sim.menu-item-object-gs_sim.menu-item-1660 .sf-menu li.menu-item { position: relative; white-space: nowrap; white-space: normal; } .dropdown-menu, .dropdown-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } user agent stylesheet li { display: list-item; text-align: -webkit-match-parent; } Inherited from ul#menu-menu.main-menu.dropdown-menu.sf-menu.sf-js-enabled #site-navigation-wrap .dropdown-menu { list-style: none; margin: 0; padding: 0; } .dropdown-menu, .dropdown-menu * { margin: 0; padding: 0; list-style: none; } .sf-menu, .sf-menu * { margin: 0; padding: 0; list-style: none; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } user agent stylesheet ul, menu, dir { display: block; list-style-type: disc; -webkit-margin-before: 1em; -webkit-margin-after: 1em; -webkit-margin-start: 0px; -webkit-margin-end: 0px; -webkit-padding-start: 40px; } Inherited from nav#site-navigation.navigation.main-navigation.clr html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div.container.clr html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div#site-navigation-wrap.clr.left-menu html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div.bottom-header-wrap.clr html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div#site-header-inner.clr html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from header#site-header.medium-header.hidden-menu.clr #site-header.medium-header { background-color: transparent; text-align: center; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div#wrap.clr html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from div#outer-wrap.site.clr html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from body.home.page-template-default.page.page-id-811.logged-in.admin-bar.wp-embed-responsive.give-test-mode.give-page.tribe-js.oceanwp-theme.dropdown-mobile.medium-header-style.no-header-border.default-breakpoint.content-full-width.content-max-width.has-breadcrumbs.customize-support.cookies-set.cookies-accepted body { font-size: 24px; color: #642e8b; line-height: 1.5; letter-spacing: 2px; } body { font-family: "Open Sans",sans-serif; font-size: 14px; line-height: 1.8; color: #4a4a4a; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-wrap: break-word; word-wrap: break-word; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Inherited from html.html html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } html { font-size: 62.5%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } html, body, div, span, applet, object, iframe, h1, h2, h3, h4,h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl,dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header,hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; } Pseudo ::before element *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } Pseudo ::after element .switcher .selected a:after { height: 48px; display: inline-block; position: absolute; right: 10px; width: 15px; background-position: 50%; background-size: 14px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16'…a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23ffffff'/></svg>"); background-repeat: no-repeat; content: ""!important; transition: all .2s; } .switcher .selected a:after { height: 48px; display: inline-block; position: absolute; right: 10px; width: 15px; background-position: 50%; background-size: 14px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16'…a9 9 0 0 0 13.1 0l133-133a9 9 0 0 0 0-13z' style='fill:%23ffffff'/></svg>"); background-repeat: no-repeat; content: ""!important; transition: all .2s; } .switcher .selected a:after { content: "\f107" !important; } *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } Pseudo ::selection element ::selection { color: #fff; background: #333; text-shadow: none; } Link to comment Share on other sites More sharing options...
niche Posted June 2, 2021 Share Posted June 2, 2021 (edited) That’s the deal you made with Wordpress, but probably didn’t realize it. Wordpress is a packaged deal unless you know how to code! Every coder has a story about lines of code taking months in the beginning. That’s not even a down payment. So, no aha. Never used fa-angle-down: before;. I know what’s it is, now, because I googled it and learned that w3schools even has a tuit on it. ‘Also, pretty sure that’s not duplicate code when viewed in context. Besides, how does fa-angle-down: before; connect to your width question? EDIT: What part of your last post is relevant? What’s the relevant part of your html? Get all of that on one screen, without having to scroll. Or, help us understand why that’s not possible. Edited June 2, 2021 by niche Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 2, 2021 Author Share Posted June 2, 2021 This; .switcher .selected a { border: 1px solid #642e8b; border-top-color: rgb(100, 46, 139); border-top-style: solid; border-top-width: 1px; border-right-color: rgb(100, 46, 139); border-right-style: solid; border-right-width: 1px; border-bottom-color: rgb(100, 46, 139); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(100, 46, 139); border-left-style: solid; border-left-width: 1px; border-image-source: initial; border-image-slice: initial; border-image-width: initial; border-image-outset: initial; border-image-repeat: initial; color: #ffffff; padding: 3px 5px; width: 211px; } In one solution I put the width at 305px. I want it not to be 305px, but for the drop-down menu to adapt its length to the text. Link to comment Share on other sites More sharing options...
niche Posted June 2, 2021 Share Posted June 2, 2021 Why are you not using suk’s link from his 1st post as the model? Link to comment Share on other sites More sharing options...
dsonesuk Posted June 2, 2021 Share Posted June 2, 2021 This is useless information without a concept of the html menu/submenu structure, itself! Also, if you want a reason why you suddenly had 'endless phishing attacks', look no further than WordPress itself! Its the most targeted cms for such attacks. 1 Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 3, 2021 Author Share Posted June 3, 2021 21 hours ago, niche said: Perché non stai usando il link di suk dal suo primo post come modello? Because doesn't works... .switcher .selected { font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: 2px; line-height: 74px; white-space: nowrap !important; } I don't know what to copy anymore to make you understand that it doesn't work. Look at the pictures, because when I said it doesn't work, you accused me yourself. It doesn't really work or I am doing something wrong. Link to comment Share on other sites More sharing options...
niche Posted June 3, 2021 Share Posted June 3, 2021 Show us your html ! Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 3, 2021 Author Share Posted June 3, 2021 .option { width: 320px! important; } Ok, the problem is definitely this ... ahaha. I try again. 2 minutes ago, niche said: Show us your html ! NEVER! I still have my email on the pages. I solved the problem, but I have to redo the 14 pages made. Sorry, but phishing is a bad thing ... If you want, I can give the link privately. Link to comment Share on other sites More sharing options...
niche Posted June 3, 2021 Share Posted June 3, 2021 (edited) Problem solved. EDIT: Code forums don't work that way. You could easily show us something similar if you could. Else, you might need to ask a different question. No harm. No foul. Edited June 3, 2021 by niche Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 3, 2021 Author Share Posted June 3, 2021 (edited) Sorry? I hope I have misunderstood. It would be absurd if on the forum you would agree to show the website's vulnerabilities by showing our complete code. I remind you that these pages are on Google; possible bot attacks. .switcher .option { font-weight: 900; font-style: italic; font-size: 24px; letter-spacing: 2px; min-width: 320px; } It still doesn't work. Edited June 3, 2021 by Il Domandatore Link to comment Share on other sites More sharing options...
niche Posted June 3, 2021 Share Posted June 3, 2021 That doesn't make sense. Everyone gets to look at everyone's html with the dev tools on every browser. They can even change it if they want. That's just SOP. Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 3, 2021 Author Share Posted June 3, 2021 We did not understand each other; bots crawl Google. Why give the complete html on Google? Are you ready to receive the HTML privately? Does the regulation prohibit it? Well! it's time to change the rule! Scammers are increasing dramatically every year. Link to comment Share on other sites More sharing options...
dsonesuk Posted June 3, 2021 Share Posted June 3, 2021 Html is text based, the vulnerability would be if you showed the server language code that produces the end result of text based html that is only what we want to see! I don't see the problem OF GIVING the link, It will be exposed anyway to everyone. Soon as it goes live bots will identify that it is WordPress, and your address will be passed on, and the attempting hacking to yoursite.com/wp-admin (that is the default location to access wordpress backend dashboard) will begin, unless properly secured. Suggest you use defender plugin to help you with that! Link to comment Share on other sites More sharing options...
Il Domandatore Posted June 7, 2021 Author Share Posted June 7, 2021 (edited) The submenu does not adapt automatically. I found an example on w3school and added a lot of letters "and". The submenu works fine and has white-space and no width or min-width.https://www.w3schools.com/css/css_dropdowns.asp Edited June 8, 2021 by Ingolme Removed code. Too much code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now