Not seen full page on mobile - html

i have this site:
http://avocat2.dac-proiect.ro/?page_id=17
Look at the picture below to understand which is my problem
This problem is each page on mobile.
Do not see the last lines of text
<div class="entry-content2">
<div class="gigi">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 style=" "="">
<img src="http://avocat2.dac-proiect.ro/wp-content/themes/WordPressBootstrap-master/images/LOGOb.png" class="img-responsive center-block" style="min-width:156px;min-height:83px">
</div>
</div>
</div>
<div class="parentVerticalCenter">
<div class="childVerticalCenter">
<p class="text-center" style="color:white;font-size:17px;padding-left:50px;padding-right:50px;/*padding-top:20px;*/padding-bottom:20px;">În afara sediului nostru, asigurăm reprezentarea şi consilierea clienţilor noştri în Bucureşti şi în judeţele Alba, Oradea, Arad, Sibiu, Braşov, Timişoara. În domeniul proprietăţii intelectuale colaborăm cu societatea Actamarque S.R.L.Putem asigura colaborari cu notari, traducatori autorizati, consultanti fiscali.</p>
<div class="wrap">
<div class="wrap1">
<div class="image1">
<p class="titlu">Zorica L. Codoban </p>
<p class="subtitlu">Avocat</p>
<p class="bbb">
– avocat din anul 1997;</p>
<p class="bbb">
– domenii de specialitate: drept civil, drept comercial,drept succesoral, drept imobiliar, dreptul muncii,drept administrativ, dreptul familiei;</p>
<p class="bbb">- limbi vorbite: franceza.</p>
<p></p>
</div>
<div class="image2">
<p class="titlu">Sorina Sabo </p>
<p class="subtitlu">Avocat</p>
<p class="bbb">
– avocat din anul 2008, îşi desfăşoară activitatea în calitate de cabinet individual la acelaşi sediu;</p>
<p class="bbb">- domenii de specialitate: drept civil, drept comercial, drept imobiliar, dreptul familiei, drept administrativ, drept penal, proprietate intelectuală;</p>
<p class="bbb">- limbi vorbite: franceza.</p>
<p></p>
</div>
<div class="image3">
<p class="titlu">Susana Mandrutiu </p>
<p class="subtitlu">Asistent manager</p>
<p class="bbb">
– experienta in domeniu din anul 2009;</p>
<p class="bbb">- experienta anterioara ca merciolog;</p>
<p class="bbb">- limbi vorbite: franceza.</p>
<p></p>
</div></div>
<div class="wrap2">
<div class="image4">
<p class="titlu">Andaluna I. Bogdan</p>
<p class="subtitlu">Avocat</p>
<p class="bbb">
– avocat din anul 2013, îşi desfăşoară activitatea în calitate de cabinet individual la acelaşi sediu;</p>
<p class="bbb">- domenii de specialitate: drept civil, drept comercial, drept european, drept imobiliar, drept administrativ;</p>
<p class="bbb">- limbi vorbite: engleza, franceza.</p>
<p></p>
<p></p></div>
<div class="image5">
<p class="titlu">Mihai A. Codoban </p>
<p class="subtitlu">Avocat</p>
<p class="bbb">
– avocat din anul 2009, îşi desfăşoară activitatea în calitate de cabinet individual la acelaşi sediu;</p>
<p class="bbb">- domenii de specialitate: drept comercial, drept administrativ, drept fiscal, dreptul muncii, dreptul asigurărilor, dreptul pieţei de capital, proprietate intelectuală;</p>
<p class="bbb">- limbi vorbite: germana, italiana, engleza, franceza.</p>
<p></p>
<p></p></div>
<p></p></div>
</div></div>
<p></p></div>
</div>
CODE CSS:
#media screen and (min-width: 850px)
{
.image2,.image3,.image5
{
margin-left:20px;
}
.wrap1
{
margin-bottom:20px;
}
}
How can I solve this problem?
Thanks in advance!

The reason is because your mobile menu overlaps the div.
A quick solution is to add padding-bottom: 100px (or change according to what you need) to .entry-content2
I Think this is better than just adding padding bottom to the text, as in this way you avoid the overlap on the image as well.

the reason for that is because on mobile the div s overlap try using padding and more percents instead of set px lengths/padding/etc. really best thing to do is to just make a separate CSS that fits mobile and then when you are on mobile have a button or have it automatically (google it) switch to that

Try to change your ".mobil"-class
/* For Example */
.mobil {
position: fixed;
bottom: 36px;
padding-top: 0px !important;
}
and add a "padding-bottom:75px;" to your body class for example.
#media only screen and (max-width : 480px) {
body {
padding-bottom: 75px;
}
}

Related

How to have vertical text next to horizontal text on tailwind css

I'm struggling with tailwind layout and text placement i try to achieve a responsive layout for mobile screen and big screen:
This is what i try to do in tailwind play but it ain't working html
<div class="grid sm:h-screen sm:grid-rows-2 lg:grid-cols-2">
<section class="bg-black lg:h-screen text-white">
<div class="grid grid-cols-2">
<p class="texto rotate-180 text-5xl">EN BOUCHE:</p>
<p class="text-5xl">Au premier abord déconcertant, il libère ensuite toute sa palette aromatique allant du fruit exotique à la fraicheur des Astéracées.</p>
</div>
</section>
<section class="bg-white sm:h-screen">
<div class="grid grid-cols-2 gap-1">
<p class="text-5xl">"On parie que les hard seltzer ne sont pas une mode passagère mais le reflet de changements profonds des modes de consommation"</p>
<p class="texto rotate-180 text-5xl">HARD SELTZER</p>
</div>
</section>
</div>
css:
.texto {
writing-mode: vertical-rl;
text-orientation: mixed;
}
Thanks for you answer time and attention.
Rather than rotate you can use an arbitrary class to apply a writing-mode of vertical-lr, so [writing-mode:vertical-lr].
Here's a Play: https://play.tailwindcss.com/DEdpOnhCvZ?size=552x720

how to create Card flip with bouton radio

I try to change cards face up with a radio button a bit like on this link:
https://codyhouse.co/demo/pricing-tables/index.html
For the moment I am getting to something when the responsive is below 62 rem (my mobile break point) but the result is not convincing above when the card pair is no longer in column but in row: / the pivot point remains central and suddenly the rotation will not be the same ... In fact, I would like the pivot points to always be on the cards that they pass in column or in row
So here is the code (mobile first)
Another problem with this code is that with absolute positions, it breaks my code a bit and suddenly from the "flap" div the elements are no longer in the "flip" section, which generates faults in my base code, especially for my footer ... So I would like to know how I can do to keep the "absolute" positions which make the elements turn, while keeping a well-constructed page with my card part and under my footer
Thank you in advance :)
HTML
<form>
<div class="radio-group">
<input type="radio" id="option-one" name="selector" checked><label for="option-one">Mensuel</label><input type="radio" id="option-two" name="selector"><label for="option-two">Annuel</label>
</div>
</form>
<section class='flip abo'>
<div id='flap' class='flap'>
<div class="recto">
<div class="card">
<h4 class='title-free'>Freelance</h4>
<div class='prix'>
<p>€</p>
<p class='free'><span>5</span>/mois</p>
</div>
<p class='bg-card'>1 utilisateur</p>
<p>Invités illimités</p>
<p class='bg-card'>Projets illimités</p>
<p>Un tableau Kanban/projet</p>
<p class='bg-card'>Tâches illimitées</p>
<p>Paiement des factures en ligne</p>
<p class='bg-card'>Support 5j/7</p>
</div>
<div class="card">
<h4 class='title-team'>Team</h4>
<div class='prix'>
<p>€</p>
<p class='team'>à partir de <span>9</span>/mois</p>
</div>
<p class='bg-card'>2 à 150 utilisateurs</p>
<p>Invités illimités</p>
<p class='bg-card'>Projets illimités</p>
<p>Un tableau Kanban/projet</p>
<p class='bg-card'>Tâches illimitées</p>
<p>Paiement des factures en ligne</p>
<p class='bg-card'>Support 5j/7</p>
</div>
</div>
<div class="verso">
<div class="card">
<h4 class='title-free'>Freelance</h4>
<div class='prix'>
<p>€</p>
<p class='free'><span>55</span>/ans</p>
</div>
<p class='bg-card'>1 utilisateur</p>
<p>Invités illimités</p>
<p class='bg-card'>Projets illimités</p>
<p>Un tableau Kanban/projet</p>
<p class='bg-card'>Tâches illimitées</p>
<p>Paiement des factures en ligne</p>
<p class='bg-card'>Support 5j/7</p>
</div>
<div class="card">
<h4 class='title-team'>Team</h4>
<div class='prix'>
<p>€</p>
<p class='team'>à partir de <span>99</span>/ans</p>
</div>
<p class='bg-card'>2 à 150 utilisateurs</p>
<p>Invités illimités</p>
<p class='bg-card'>Projets illimités</p>
<p>Un tableau Kanban/projet</p>
<p class='bg-card'>Tâches illimitées</p>
<p>Paiement des factures en ligne</p>
<p class='bg-card'>Support 5j/7</p>
</div>
</div>
</div>
</section>

Find and replace url in substring from html tags in Mysql

I have tried a lot, but with no success. I have a column content (longtext) stored in a database.So, I wanna find all occurrences of https://curious-api.example.pro and replace it with http://localhost. Thanks in advance. Here is the content:
<section id="jumbotron" style="background-image: url(https://curious-api.example.pro/fixture-images/images/label_appointment_scheduling.jpg);">
</section>
<section id="solutions-article">
<div id="" class="content-aside-image img-left">
<div class="row no-gutters">
<div class="col col-12 col-md-6 image">
<figure><img src="https://curious-api.example.pro/fixture-images/images/as_what_we_do.jpg" width="100%" alt="car" /></figure>
</div>
<div class="col col-12 col-md-6 content">
<p>Curious Inc helpt u en uw bedrijf om uw planning te optimaliseren. Wij bieden uw medewerkers en uw klanten de mogelijkheid om uw agenda’s in te zien en desgewenst zelf te plannen. Wij koppelen de planning aan uw dienstverlening. Communicatie met uw klanten over de agenda en uw dienstverlening verloopt eenvoudiger, u integreert moeiteloos uw planning aan uw boekhouding en met slimme rapportages optimaliseert u uw processen. </p>
</div</div>
</div>
</section>
<section id="solution-showcases">
<div class="container-fluid">
<div class="row">
<div class="card basic transparent disable-hover">
<div class="card-inner">
<div class="card-image"><img src="https://curious-api.example.pro/fixture-images/images/CUR 003 Iconen labels_Agenda Planning.svg" alt="1" /></div>
<div class="card-body">
<h4 class="card-title">Slim plannen in de agenda</h4>
<p class="card-text">Ga slimmer om met vrije momenten. Krijg inzage in de agenda op mobiele telefoon, tablet en PC, plan sneller door automatische controle op beschikbaarheid van mens en middelen.</p>
</div>
</div>
</div>
<div class="card basic transparent disable-hover">
<div class="card-inner">
<div class="card-image"><img src="https://curious-api.example.pro/fixture-images/images/CUR 003 Iconen labels_Communicatie.svg" alt="2" /></div>
<div class="card-body">
<h4 class="card-title">Klantbeheer en communicatie</h4>
<p class="card-text">Verbeter uw service en communiceer proactief over de planning en uw dienstverlening met uw klanten. Onze producten werken met app, social media, sms, e-mail en webportaal.</p>
</div>
</div>
</div>
<div class="card basic transparent disable-hover">
<div class="card-inner">
<div class="card-image"><img src="https://curious-api.example.pro/fixture-images/images/CUR 003 Iconen labels_Boekhouding.svg" alt="3" /></div>
<div class="card-body">
<h4 class="card-title">Administratie en optimalisatie</h4>
<p class="card-text">Factureer automatisch op basis van geleverde diensten, koppel met uw boekhoudpakket en verkrijg rapportages die u helpen om nog slimmer te werken.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="section-customer-stories">
<div class="container-fluid">
<figure class="customer-image"><img src="https://curious-api.example.pro/fixture-images/images/sander_borsten.png" alt="" /></figure>
<figure class="customer-logo"><img src="https://curious-api.example.pro/fixture-images/images/logo_anwb.jpg" height="65" alt="" /></figure>
</div>
</article>
</section>
</section>
How about MYSQL replace() ?
UPDATE your_tbl_name SET content = REPLACE(content,'https://curious-api.example.pro','http://localhost')
You can also speed up things with a (optional) WHERE clause e.g
UPDATE your_tbl_name SET content = REPLACE(content,'https://curious-api.example.pro','http://localhost') WHERE content LIKE '%https://curious-api.example.pro%'
If you want regex replace on mysql 5.7, you can try this: https://gist.github.com/crx4/a9fc379d4e833fc03918
Use replace()
UPDATE table_name SET content = REPLACE(content, 'https://curious-api.example.pro', 'http://localhost')

Bring text to top of page on mobile device

I have my layout done like this
<div class="row newtryh2">
<div class="col-xs-12 col-sm-6 col-md-6 middlethat">
<h2>WiFi via Facebook</h2><span class="border"></span>
<p>Erbjud dina gäster & besökare fri WiFi genom vår WiFi tjänst. De letar helt enkelt upp ert Nätverk, Ansluter & då kommer er Facebooksida upp och ger besökaren möjlighet att Checka in på er Facebook sida för att få tillgång till nätverket. Perfekt Marknadsföring för ditt företag</p>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 shadowimg"><img class="img-responsive" src="Images/1.jpg" style="margin: auto;"></div>
</div>
<div class="row newtryh2">
<div class="col-xs-12 col-sm-6 col-md-6 shadowimg"><img class="img-responsive" src="Images/2.jpg" style="margin: auto;"></div>
<div class="col-xs-12 col-sm-6 col-md-6 middlethat">
<h2>Google Streetview</h2><span class="border"></span>
<p>Visa ditt företag från insidan med en virtuell rundtur i 360°. Perfekt för Restauranger & Butiker. Allt publiceras under din Google My Business och ger dina kunder en chans att gå in Virtuellt hos er. Vi utför även Filmning & Fotning i 360° där din fantasi sätter gränserna</p>
</div>
</div>
It works fine with text on the left then an image on the right and then the next row we have text on the right and image on the left but when it goes to mobile I want the text to be above the picture on the second row because right now on mobile devices it goes :
Text
Image
Image
Text
And I want
Text
Image
Text
Image
I was wondering how to do this ?
Thanks
You can do it like this with the Flexbox:
#media screen and (max-width: 480px) { /* adjust to your needs */
.row:not(:first-child) {
display: flex;
flex-direction: column;
}
.row:not(:first-child) > .shadowimg {
order: 2;
}
}
<div class="row newtryh2">
<div class="col-xs-12 col-sm-6 col-md-6 middlethat">
<h2>WiFi via Facebook</h2><span class="border"></span>
<p>Erbjud dina gäster & besökare fri WiFi genom vår WiFi tjänst. De letar helt enkelt upp ert Nätverk, Ansluter & då kommer er Facebooksida upp och ger besökaren möjlighet att Checka in på er Facebook sida för att få tillgång till nätverket. Perfekt Marknadsföring för ditt företag</p>
</div>
<div class="col-xs-12 col-sm-6 col-md-6 shadowimg"><img class="img-responsive" src="Images/1.jpg" style="margin: auto;"></div>
</div>
<div class="row newtryh2">
<div class="col-xs-12 col-sm-6 col-md-6 shadowimg"><img class="img-responsive" src="Images/2.jpg" style="margin: auto;"></div>
<div class="col-xs-12 col-sm-6 col-md-6 middlethat">
<h2>Google Streetview</h2><span class="border"></span>
<p>Visa ditt företag från insidan med en virtuell rundtur i 360°. Perfekt för Restauranger & Butiker. Allt publiceras under din Google My Business och ger dina kunder en chans att gå in Virtuellt hos er. Vi utför även Filmning & Fotning i 360° där din fantasi sätter gränserna</p>
</div>
</div>
A only-css way to do this is Flexbox.
On your "newtryh2" containers, set the display:flex attribute.
Then with flex-direction:column and flex-direction:column-reverse on mobile you can change the order of the contained blocks.

Center a bootstrap column in just a certain device

I'm leaning bootstrap, and I made this a row with two columns to stack each other.
On the large devices i want it to be like that:
With the trophy a little to the top, as you can see.
But in mobile small and medium it's like that:
As you can see, the trophy isn't centered under the black div, it's possible to center it just when the columns stack each other?
html:
<div class='row'>
<div class='subir col-lg-6 col-lg-offset-1'>
<div>
<p class='titulo'>Liga Juizforana</p>
<hr size='1' align='left'>
<p class='subtit'>A Liga Juizforana tem o intuito de trazer campeonatos diversos para a cidade focando em League of Legends. A intenção do campeonato é a diversão de todos, tendo campeonatos sempre que possível para todos se interagirem, conhecerem e entrarem no cenário competitivo da cidade.</p>
</div>
</div>
<div class='grandelogo col-xs-3 col-md-3 col-lg-4'>
<img src='imagens/LigaJFLogo.png' border='0px' alt='LigaJFLogo' title='LigaJFLogo'>
</div>
</div>
you could try this CSS:
#media (max-width: 767px) {
.grandelogo {
text-align:center;
}
}
Change the actual width according to your needs
I can't see any centering element. To center it in a div, just put text-center class in a div.grandelogo classes, that is a supported way to do it in bootstrap.
If you want to have it 100% width in small devices, help yourself with col-sm or col-md settings:
<div class='row'>
<div class='subir col-sm-12 col-lg-6 col-lg-offset-1'>
<div>
<p class='titulo'>Liga Juizforana</p>
<hr size='1' align='left'>
<p class='subtit'>A Liga Juizforana tem o intuito de trazer campeonatos diversos para a cidade focando em League of Legends. A intenção do campeonato é a diversão de todos, tendo campeonatos sempre que possível para todos se interagirem, conhecerem e entrarem no cenário competitivo da cidade.</p>
</div>
</div>
<div class='grandelogo col-sm-12 col-lg-4 text-center'>
<img src='imagens/LigaJFLogo.png' border='0px' alt='LigaJFLogo' title='LigaJFLogo'>
</div>
</div>