solved Changed a left padding value in header.css and now can't see ACP tabs.

Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I wanted to see about moving the logo left. Changed value from 12px to 0px and now I can no longer see the tabs.

Looking through the CSS files through cPanel and changing values manually in header.css does not revert the change.

Looking in /skins/jrNingja-release-1.0.11/css/header.css

I am kinda baffled as to which/where the the CSS value I changed is.

Nothing I can do until I figure out a way to reset this.
jpg
 •  397KB


updated by @claygordon: 02/06/15 02:15:12AM
brian
@brian
10 years ago
10,148 posts
That's weird that just changing the padding would do that - I suspect something else going on. You'll want to go into the Developer Tools -> Tools -> Database Admin, and look in the jr_jrcore_skin table. Click on "Select" to the left of the table, then for your active skin click on the small "edit" button. You'll need to remove/fix the header section that was customized.

Then do an ACP -> Reset Caches and it should work.

On your screenshot was it the #main_logo one that you changed? Let me know and I will try to replicate it here.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
@Brian -

Yes. It is #main_logo that I want to work on. The overall header is too short for my taste. I want it to be 140px overall. I will insert a modified version of my logo about 130px tall that fades to the background color of the header (#222222 IIRC).

One other thing that is weird here is that the nav menu has lost its right alignment.

There's another discussion where I talk about the header.css. In order to be able to display the tabs so I could select the correct .css file I had to change some of the CSS in order to reduce the size of the header. I needed to reset some values by directly editing the CSS files and reloading the page.
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
brian:

Then do an ACP -> Reset Caches and it should work.


I am in developer mode and caching has been disabled. Should I still do the reset caches?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
brian:

Then do an ACP -> Reset Caches and it should work.


I am in developer mode and caching has been disabled. Should I still do the reset caches?

No - you don't need that if developer mode is on.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
@Brian -

I am directly editing header.css from the CPanel File Manager Code Editor:

thechocolatelife/skins/jrNingja-release-1.0.11/css/header.css

and changes are not reflected when doing a hard reload of the page.

jrNingja-release-1.0.11 is symlinked to jrNingja
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
@Brian -

I am directly editing header.css from the CPanel File Manager Code Editor:

thechocolatelife/skins/jrNingja-release-1.0.11/css/header.css

and changes are not reflected when doing a hard reload of the page.

jrNingja-release-1.0.11 is symlinked to jrNingja

I've never see an issue when editing the file directly (and we do it all the time). If you have Developer Mode on, then you should see the change. Maybe editing via CPanel does not work right?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
@Brian -

I changed the image so you can see that something is going on.

The top image shows the default state of header.css in the untagged tab.

I make ONE change - changing margin-left on #main_logo and after saving changes, you can see RESET buttons next to every attribute even though all of the values are the same.

So, there's something going on and it's in #header_content. If I reset just that element everything shifts right. Resetting .spacer padding-top fixes the vertical movement.

One other thing that doesn't make sense is that the location of the nav menu shifts left. I would have assumed that it was right-aligned and not dependent on the location of the logo.

UPDATE - Yep. CPanel editor is not saving the files on the host. I edited the files locally and FTPd them up and it all worked. I think I have to file a ticket with Arvixe on that one.
updated by @claygordon: 01/05/15 03:32:41PM
brian
@brian
10 years ago
10,148 posts
I see something weird with the reset buttons too - not sure when that happened. I'm checking it out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
thechocolatelife:
@Brian -

So, there's something going on and it's in #header_content. If I reset just that element everything shifts to the right. Resetting .spacer padding-top fixes the vertical movement.


Another case to test for. After re-setting

#header_content
.spacer

I decided to Save Changes just for fun.

On the page refresh, the tab state was lost. Going back to the untagged tab the system thinks that

#header_content
.spacer

have been changed, even though they were not. Just for fun I reset everything, made no changes, and clicked Save Changes. Three of the four elements now have reset buttons! Ironically, the one that does not is margin-left for #main_logo.

As the tab state is lost you might also want to check if somehow these two things are related.
updated by @claygordon: 01/04/15 09:26:01AM
brian
@brian
10 years ago
10,148 posts
This should all be working now in the 5.2.20 beta release I have pushed up - update and let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags