DavoodHawaee Posted October 1, 2017 Share Posted October 1, 2017 Hello everybody I have a problem with a little text that a module added to my footage, but it's not on my footage css files, I read topics and checked the blockmyaccount and blockmyfootage files too but I didn't find. My general question is "Where is a specific text or image or any elements located on css files"?! I'm using FireBug but it doesn't help, it shows just the main css, like global.css or global_rtl.css. Link to comment Share on other sites More sharing options...
selectshop.at Posted October 1, 2017 Share Posted October 1, 2017 Screensample, or URL to the text you are searching? Perhaps it is a translation text. Link to comment Share on other sites More sharing options...
DavoodHawaee Posted October 1, 2017 Author Share Posted October 1, 2017 Here is what I want to remove https://www.dropbox.com/s/prqxitnh8z48i8d/2017-10-01_165712.jpg But my question is universe and not just about this content Link to comment Share on other sites More sharing options...
selectshop.at Posted October 1, 2017 Share Posted October 1, 2017 It should be a translation of a module or a link. LINKS: tab modules -> modules & services -> search for CMS block -> configure OR it could be also a link of the useful lnks, so you can translate at tab "Preferences -> SEO & URL's" - > choose the link and use "edit" for to translate. MODULES: Tab localization -> translations -> choose translation for a module and your theme in use. Text in general you will find on the translations and not in the files. Images you can locate with Firebug. Script code you will find with notepad++ and the option "search on server" Link to comment Share on other sites More sharing options...
selectshop.at Posted October 1, 2017 Share Posted October 1, 2017 If you want to remove the whole link instead to translate it, than you should disable the module for that link, or remove the link on cms block module. I cannot recognize if it is a module or a link added to cms block. Link to comment Share on other sites More sharing options...
DavoodHawaee Posted October 2, 2017 Author Share Posted October 2, 2017 Thanks for your replies but my question is generally and about a page! I own a website, I'm seeing something, some special text that isn't in my translation because my module doesn't show it on my translations and I wanna change it, as an owner have to know where is this code located! I searched a lot and I used programs like FIREBUG, for example, firebug shows me the codes, right!? But I don't know where can I change this code?! You know? It's a problem when I can't change what I own! Anyway, I removed that module but my question still is here! "Where is this element's css file?!" Link to comment Share on other sites More sharing options...
Scully Posted October 2, 2017 Share Posted October 2, 2017 (edited) Next content is NOT part of CSS. To investigate, usually it makes sence to to use CCC for CSS unter performance settings. With this option turned OFF your browser loads all CSS files separately. Then you can use the browser right mouse click to investigate objects on the screen and locate the name of the CSS and line number involved for formatting. All this applies only to formatting elements but not to its text content. If a module behaves the way it shoud, text elements are translatable by Backoffice => Localization => Translation => Modules. Images are different: The might come from CSS (expecially for small icon images) or from the module settings. There are not guaranteed always working approaches to figure out where images come from. Sometimes you even might need to investigate the modules source code. Edited October 2, 2017 by Scully (see edit history) Link to comment Share on other sites More sharing options...
DavoodHawaee Posted October 2, 2017 Author Share Posted October 2, 2017 It's right that "Sometimes you even might need to investigate the modules source code", but sometimes a little text isn't in theme's csses and in module's css it doesn't show the code!! So how can I remove that little text, I don need?! In another side, I have a bigger problem that I have 2 global css files on my public_html/themes/default-bootstrap/css. One of them is global.css and the other global_rtl.css, what is the difference between these two files? Even I delete the global.css nothing will change on my website but when I delete the global_rtl.css file It became confused with text place and other things!! It's my problem right now that don't know in which file I must change my background color!! because if I delete which of these files my background doesn't change! Link to comment Share on other sites More sharing options...
Scully Posted October 2, 2017 Share Posted October 2, 2017 You should always use browser developer toolbar to investigate where a CSS rule comes from. All other approches may only lead to trial & error. At the moment you are going the trial & error way without understanding how CSS works. Refering to files mentionned: I don't know global_rtl.css. It is not part of PS 1.6.1.XX. It can be a custom theme CSS which we don't know or it might belong to a PS 1.7. installation. Link to comment Share on other sites More sharing options...
Nikolai Posted October 2, 2017 Share Posted October 2, 2017 >>>>My general question is "Where is a specific text or image or any elements located on css files"?! I search by the next scheme: if you do not know Linux 1) download all prestashop files locally 2) search by keyword at totalcommander If you know Linux & have access to SSH 1) via Linux MC software 2) search by keyword at MC Link to comment Share on other sites More sharing options...
DavoodHawaee Posted October 2, 2017 Author Share Posted October 2, 2017 Yeaap! Thanks Nikolai!! that was so helpful I'm just using windows and installed a program named UltraFind that finds a specific word in every css files those located in a folder! Link to comment Share on other sites More sharing options...
selectshop.at Posted October 2, 2017 Share Posted October 2, 2017 Also with notepad++ you will find "words" in files on server.... See my previous post #4 (script code and words in this have the same meaning) https://www.ghacks.net/2016/09/16/use-notepad-to-find-text-in-all-files-of-a-folder/ and you do not need to download the files before, you can search also on Server. It takes a while, but it will find it. 1 Link to comment Share on other sites More sharing options...
DavoodHawaee Posted October 2, 2017 Author Share Posted October 2, 2017 Thanks! It also can help to find content! <3 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