General developer forum

finding the right css

 
Picture of Karlis Murans
finding the right css
 

Hi!

using moodle version +3.3

as a base theme for my own theme bootstrap base theme $plugin->version   = 2016120500;


after the latest update the dropdown menu for editing blocs of region-main are shown too high and i cant find the right css to change it. i have colored the correct part in the picture i need to find a way to override the original code but cant seem to find the right way.


please help me


Kangars



 
Average of ratings: -
Picture of Ambrish Tiwari
Re: finding the right css
 
Hi Karlis,

If you can find the exact css file responsible, may be you can edit the class over there.  The details you have provided doesn't give me clear picture.
If you could provide more details I might would be able to help you out.

 
Average of ratings: -
Picture of Karlis Murans
Atbilde: Re: finding the right css
 

Hi Ambrish.


The best i can do is show you the situation - as you see in the picture is the dropdodwn menu that is afected by the css i cant find an as you can see it is way too high. 

I have checked all the css files available, but i could not find the code.


 
Average of ratings: -
Picture of Richard Oelmann
Re: Atbilde: Re: finding the right css
Group Core developersGroup Particularly helpful MoodlersGroup Plugin developersGroup Testers

If your issue is the position of them (you say they are shown too high), then the issue is likely to be either in the layout file or possibly in javascript as the first image you showed has the position css in the element itself, not in a separate css file. This is probably a calculated value in the JS rather than in a css file.

 
Average of ratings: -
Picture of Karlis Murans
Atbilde: Re: Atbilde: Re: finding the right css
 

i think you might be right, but i still cant find the code that generates it  :/  i did a full "find in files" search of the server, and found nothing. Furthermore, the error only appears on chrome, on firefox and IE everything is perfect. 

 
Average of ratings: -